/project
Specifies the project to build, clean, deploy, or rebuild if you are doing one of these operations to a single project rather than the specified project configuration.
devenv {/build|/rebuild|/deploy|/clean} ConfigName [/project ProjName] 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.
Example
This example builds the project MyProject1
, in solution MySolution
, with the debug solution configuration.
devenv /build debug /project MyProject1 "c:\MySolutions\Visual Studio Projects\MySolution\MySolution.sln"
See Also
Devenv Command Line Switches | /build | /clean | /deploy | /rebuild