The Microsoft Build Engine is a platform for building applications. This engine, which is also known as MSBuild, provides an XML schema for a project file that controls how the build platform processes and builds software. Visual Studio uses MSBuild, but MSBuild doesn't depend on Visual Studio. By invoking msbuild.exe on your project or solution file, you can orchestrate and build products in environments where Visual Studio isn't installed. Visual Studio uses MSBuild to load and build managed projects. The project files in Visual Studio (.csproj, .vbproj, .vcxproj, and others) contain MSBuild XML code that executes when you build a project by using the IDE. Visual Studio projects import all the necessary settings and build processes to do typical development work, but you can extend or modify them from within Visual Studio or by using an XML editor. Starting with Visual Studio 2022, when you build in Visual Studio, the 64-bit version of MSBuild is used.
Features
- You want to run a build in multiple processes
- You can use the IDE to achieve the same result on projects in C++ and C#
- You want to modify the build system
- Preprocess files before they reach the compiler
- Create compressed files from build outputs
- You can write code in the Visual Studio IDE but run builds by using MSBuild