📜  c# 在运行时确定配置 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:54.806000             🧑  作者: Mango

代码示例1
var assemblyConfigurationAttribute = typeof(CLASS_NAME).Assembly.GetCustomAttribute();
var buildConfigurationName = assemblyConfigurationAttribute?.Configuration;