How do I set a single C# project to always build in either Release or Debug mode regardless of the solution target mode?
+5
A:
Right-click on the solution in the solution explorer. Select "Configuration Manager". Here, you can specify the project configurations used when the solution config is in 'Debug' or 'Release'.
Michael Petrotta
2009-12-14 06:34:23
A:
Inside the Build Options, make the settings the same for Debug and Release. Specifically in Debug uncheck "Define DEBUG constant" and check "Optimize code"
Yuriy Faktorovich
2009-12-14 06:37:03