Project settings in "Release" or "Debug" mode

In Visual Studio, you can specify different project properties for Release and Debug modes. However, I usually want them to have the same project properties (i.e. the same and dependencies). Is there a way to copy the properties of a debug mode project to release mode without making line-by-line changes?

+3


source to share


1 answer


Yes. Use the Property Manager to add a new property sheet, make any changes you want, and then Add Existing to another mode.

The sheets listed are just references, and when a sheet changes in one place, it changes in all. Inheritance is hierarchical (probably not a word ...) moving from bottom to top, with the actual project inheriting last and the bottom property list first.



On the project properties page (right click on the project in Solution Explorer → Properties) set each item in bold to "Inherit from parent or project default" and they will automatically inherit properties from the next smallest page properties in the property manager.

+2


source







All Articles