Skip to main content

The Microsoft build tool for Visual Studio project solutions.

:: To build the first project file in the current directory:
msbuild

:: To build a specific project file:
msbuild <path/to/project_file>

:: To set one or more semicolon-separated targets to build:
msbuild <path/to/project_file> /target:<targets>

:: To set one or more semicolon-separated properties:
msbuild <path/to/project_file> /property:<name=value>

:: To set the build tools version to use:
msbuild <path/to/project_file> /toolsversion:<version>

:: To display detailed information at the end of the log about how the project was configured:
msbuild <path/to/project_file> /detailedsummary

:: To display detailed help information:
msbuild /help