Force VSProps settings to override project settings

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-06-09T21:02:10Z Indexed on 2010/06/09 21:32 UTC
Read the original article Hit count: 346

Filed under:
|
|

I have a vsprops file that defines the optimizations all of our projects should be built with for Visual Studio 2008. If I set the properties for the project to "inherit from parent of project defaults" it works, and fills them in the vcproj file. However, this doesn't protect me from a developer checking in a project file that changes the optimizations. In this case, the project settings are used over the vsprops settings. I need to make it so that vsprops always takes precedence over what is in the vcproj file. Is this possible? Other workarounds are also welcome.

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio-2008