Export (0) Print
Expand All

/projectconfig

Specifies the configuration for the project specified in by the /project argument.

devenv {/build|/rebuild|/deploy|/clean} ConfigName [/project ProjName] /projectconfig ConfigName SolutionName

Arguments

/build
Builds the project specified by /project ProjName.
/rebuild
Cleans then builds the project specified by /project ProjName.
/deploy
Specifies that the project is deployed after a build or rebuild.
/clean
Cleans all intermediary files and output directories created during a build.
ConfigName
Required. The solution configuration name.
SolutionName
Required. The path and name of the solution file (.sln).
/project ProjName
Optional. The project name and extension to build, clean, deploy, or rebuild. ProjName can be the complete path and name of the project file, a relative path and name of the project file from the directory containing the solution file (.sln), or the display name of the project if it is unique.
/projectconfig ConfigName
Required. The name of the build configuration.

Remarks

Must be used with the /project switch as part of a /build, /deploy, /rebuild, or /clean switches.

Example

This example builds the project MyProject1, in solution MySolution, with the debug solution configuration and the debug project configuration.

devenv /build debug /project MyProject1 /projectconfig "debug|.net" "c:\MySolutions\Visual Studio Projects\MySolution\MySolution.sln"

See Also

/project | /build | /deploy | /rebuild | /clean | Devenv Command Line Switches

Show:
© 2014 Microsoft