Share via


MSBuild concepts

MSBuild provides a basic XML schema that you can use to control how the build platform builds software. To specify the components in the build and how they are to be built, use these four parts of MSBuild: properties, items, tasks, and targets.

Title Description
MSBuild properties Introduces properties and property collections. Properties are key/value pairs that you can use to configure builds.
MSBuild items Introduces items and item collections. Items are inputs into the build system and typically represent files.
MSBuild targets Explains how to group tasks together in a particular order and enable sections of the build process to be called on the command line.
MSBuild tasks Shows how to create a unit of executable code that can be used by MSBuild to perform atomic build operations.
Comparing properties and items Compares MSBuild properties and items. Both are used to pass information to tasks, evaluate conditions, and store values that can be referenced throughout the project file.
MSBuild special characters Explains how to escape some characters that MSBuild reserves for special use in specific contexts.
Walkthrough: Creating an MSBuild project file from scratch Shows how to create a basic project file incrementally, by using only a text editor.
Walkthrough: Using MSBuild Introduces the building blocks of MSBuild and shows how to write, manipulate, and debug MSBuild projects without closing the Visual Studio integrated development environment (IDE).
How MSBuild builds projects Describes the internal build process used within MSBuild
MSBuild reference Links to documents that contain reference information.
MSBuild Presents an overview of the XML schema for a project file and shows how it controls processes that builds software.