Is it good practice to set AssemblyConfigurationAttribute
in .Net assembly files?
I have not found this to be particularly useful (since none but the most low-level tools display this information) and I have never seen it used in production code I have worked on.
Regardless, if you want it, just add the following lines to your AssemblyInfo.cs file:
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With