msbuild
microsoft Build Engine
TLDR
Build solution
$ msbuild [solution.sln]
Build specific configuration$ msbuild [project.csproj] /p:Configuration=[Release]
Build specific target$ msbuild /t:[Clean]
Restore and build$ msbuild /t:Restore;Build
Set verbosity$ msbuild /v:[detailed]
Build with parallelism$ msbuild /m:[4]
Build to output directory$ msbuild /p:OutputPath=[bin/output]
SYNOPSIS
msbuild [options] [projectfile_]
DESCRIPTION
msbuild is the Microsoft Build Engine. It builds .NET applications and solutions.
The tool processes project files. Supports parallel builds and custom targets.
PARAMETERS
PROJECTFILE_
Solution or project file./t: TARGET
Target to build./p: PROPERTY=VALUE
Set property value./v: LEVEL
Verbosity level./m [N]
Maximum parallel builds./restore
Run restore before build./?
Display help information.
CAVEATS
Requires .NET SDK. Windows-centric but cross-platform. XML-based project files.
HISTORY
MSBuild was created by Microsoft as the build platform for .NET, first released with Visual Studio 2005.
