The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
We recommend using Visual Studio 2017

MSBuild (Visual C++)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at MSBuild (Visual C++).

You can use the MSBuild tool to build a Visual C++ application from the command prompt. The build process is controlled by the information in a project file (.vcxproj) that you can create and edit. The project file specifies build options based on build stages, conditions, and events.

MSBuild (Visual C++) OverviewDescribes how Visual C++ uses the MSBuild system.
Build System ChangesDiscusses some of the differences between the current build system and the previous release.
Walkthrough: Using MSBuild to Create a Visual C++ ProjectDemonstrates how to create a Visual C++ project using MSBuild.
How to: Use Build Events in MSBuild ProjectsDemonstrates how to specify an action that occurs at a particuler stage in the build: before the build starts; before the link step starts; or after the build ends.
How to: Add a Custom Build Step to MSBuild ProjectsDemonstrates how to add a user-defined stage to the build sequence.
How to: Add Custom Build Tools to MSBuild ProjectsDemonstrates how to associate a build tool with a particular file.
How to: Integrate Custom Tools into the Project PropertiesDemonstrates how to add options for a custom tool to the project properties.
How to: Modify the Target Framework and Platform ToolsetDemonstrates how to compile a project for multiple frameworks or toolsets.

Building on the Command Line