MSBuild documentation

MSBuild is a general purpose build system used by Visual Studio and the .NET SDK.

Reference

Command line

Use MSBuild.exe command-line options to set properties, build specific targets, control logging, and more.

Common project properties

List of commonly used MSBuild properties you can set in your project files to configure your builds.

Well-known item metadata

List of default metadata for items that you can use to implement targets and control how various files are handled and built.

Common item metadata

List of optional item metadata you can use to control how your files are handled, that have meaning for some SDKs or targets.

MSBuild API

Reference to APIs you can use to control MSBuild programmatically when authoring custom tasks and build tools.