msbuild
microsoft Build Engine
TLDR
Build solution
$ msbuild [solution.sln]
Build specific configurationcopy
$ msbuild [project.csproj] /p:Configuration=[Release]
Build specific targetcopy
$ msbuild /t:[Clean]
Restore and buildcopy
$ msbuild /t:Restore;Build
Set verbositycopy
$ msbuild /v:[detailed]
Build with parallelismcopy
$ msbuild /m:[4]
Build to output directorycopy
$ msbuild /p:OutputPath=[bin/output]
copy
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.