I modified the default Debug configuation, so that the output directories resemble $(SolutionDir)$(PlatformName)/$(ConfigurationName)
.
Next, I created debug variations, DebugStatic
and DebugDll
, to be more explicit about the target being created. I created them by copying the Debug
configuration.
In similar fashion, I created ReleaseDLL
and ReleaseStatic
from the modified Release
configuration.
Using Configuration Manager, I removed the Debug
and Release
configurations.
The Debug
and Release
configurations still show up in the Batch Build window and also in the Configuration drop down box in the Property Pages window (displayed from right clicking on the project name, then selecting Properties).
How do I cleanse, wipe-out, erase, obliterate, the Debug
and Release
configurations?
(The ambiguity of Debug has caused me many weeks of problem solving, especially when accidentally combining a Win32 debug DLL in an X64 project)
(I searched the web and StackOverflow, but didn't find anything about completely removing those configurations.)
You should clear the configurations within the .SLN file
Solution and Project debug/release configurations are different.
Solution configurations may be controlled by configuration manager (Active Solution Configuration) and project configuration again can be controlled in the same manager for each project separately(project context)
In the image above, you can click on a project configuration, select edit and then you can remove the configuration.
Note that to clear this from VS Batch build you must manually delete the property groups for DEBUG & RELEASE configurations from the project file XML.