I have two projects in my solution. I am currently using the default configuration mode which is 'Debug'. When I want to do a 'Release' build, I switch to Release-mode and then I see all my previous projects properties are set to default, meaning I have to add all properties again manually to this mode.
Is there a convenient way to solve this in VS2010, for example to copy all properties like include paths, preprocessor macros, build macros, etc from 'Debug' to 'Release' mode?
You'll find the Visual Studio project files in a locale-specific folder under the base directory, %VSINSTALLDIR%MSBuild\Microsoft\VC\<version> . The <version> is specific to the version of Visual Studio. It's v160 for Visual Studio 2019. Properties are also stored in any custom .
Click TOOLS > SETTINGS > check EXPERT SETTINGS to see the build configuration manager (This is only applicable to Visual Studio 2010 Express Edition and NOT for 2008 Express Edition) Click BUILD > CONFIGURATION MANAGER select the platform dropdown to X86 and click CLOSE.
In Visual Studio, click Tools > Import and Export Settings. Click Export selected environment settings and then click Next. Enable the check boxes for the settings you want to export and click Next.
Configuration settings are stored in .vcproj
/ .vcxproj
file. You could open it in some text editor and copy some settings manually, but it wouldn't be convenient. For now you could just open projects properties and copy these settings while switching Debug
/ Release
configuration in the upper left corner of that window.
Next time when you are setting properties that are intended to be the same for all configurations, choose Configuration: All Configurations
to avoid troubles.
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