/ProjectConfig (devenv.exe)
Visual Studio 2012
Specifies a project build configuration to be applied when you build, clean, rebuild, or deploy the project named in the /project argument.
devenv SolutionName {/build|/clean|/rebuild|/deploy} SolnConfigName [/project ProjName] [/projectconfig ProjConfigName]
-
Must be used with the /project switch as part of a devenv /build, /clean, /rebuild, or /deploy command.
-
Enclose strings that include spaces in double quotation marks.
-
Summary information for builds, including errors, can be displayed in the Command window, or in any log file specified with the /out switch.
This example builds the project CSharpConsoleApp, using the Debug project build configuration within the Debug solution configuration of MySolution.
devenv "C:\Documents and Settings\someuser\My Documents\Visual Studio\Projects\MySolution\MySolution.sln" /build Debug /project "CSharpWinApp\CSharpWinApp.csproj" /projectconfig Debug