namespace Store.Management.Framework.Configs; /// /// 应用级常量配置:代码标识与显示名称分离。 /// public static class AppConfig { /// 代码用软件名称(程序集/目录/Mutex 等标识)。 public const string AppName = "Store.Management"; /// 显示与输出用软件名称(启动页、对话框标题、安装器显示名等)。 public const string AppDisplayName = "Store.Management"; /// 是否是发布版本。 public static bool IsRelease { get { #if RELEASE return true; #else return false; #endif } } /// 当前构建模式显示名(Release / Debug)。 public static string BuildMode { get { return IsRelease ? "Release" : "Debug"; } } }