MSBuild (Visual C++)

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see MSBuild (Visual C++) on docs.microsoft.com. 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.

TermDefinition
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

Show: