ConfigurationSettingName Property |
Namespace: SIC.Settings
Requirement: at least one assembly must has a EntryAssembly attribute in AssemblyInfo.cs
exampleusing SIC;
[assembly: EntryAssembly()]
//* Puts assembly configuration * //* This value can read by property SIC.Settings.Configuration.SettingName (uses for sconfig file) * #if DEBUG [assembly: AssemblyConfiguration("Debug")] #endif #if TEST [assembly: AssemblyConfiguration("Test")] #endif #if RELEASE [assembly: AssemblyConfiguration("Release")] #endif