Skip to content

Commit 3d1ba83

Browse files
Merge pull request #14206 from ghogen/how-msbuild-works-peer-feedback
MSBuild build process overview: peer feedback improvements
2 parents 12ec34c + 9606e02 commit 3d1ba83

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/msbuild/build-process-overview.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How MSBuild builds projects
33
description: Discover how MSBuild processes your project files, whether you invoke the build tool from Visual Studio or from a command line or script.
4-
ms.date: 3/10/2025
4+
ms.date: 8/14/2025
55
ms.topic: overview
66
helpviewer_keywords:
77
- MSBuild, build process overview
@@ -13,9 +13,15 @@ ms.custom: peer-review-program
1313
---
1414
# How MSBuild builds projects
1515

16-
How does MSBuild actually work? In this article, you'll learn how MSBuild processes your project files, whether invoked from Visual Studio, or from a command line or script. Knowing how MSBuild works can help you better diagnose problems and better customize your build process. This article describes the build process and is largely applicable to all project types.
16+
MSBuild is Microsoft's build engine that is used to build most Visual Studio projects. MSBuild invokes compilers and other tools to build your code, but also includes flexible configuration and customization options, and infrastructure for creating not just compiled binaries, but also a wide range of other output artifacts. MSBuild is very configurable and customizable, but to get the most out of this customizability, it's important to understand how MSBuild works. In this article, you'll learn how MSBuild processes your project files, whether invoked from Visual Studio, or from a command line or script. Knowing how MSBuild works can help you better diagnose problems and better customize your build process. This article describes the build process and is largely applicable to all project types.
1717

18-
The complete build process consists of [initial startup](#startup), [evaluation](#evaluation-phase), and [execution](#execution-phase) of the targets and tasks that build the project. In addition to these inputs, external imports define the details of the build process, including both [standard imports](#standard-imports) such as *Microsoft.Common.targets* and [user-configurable imports](#user-configurable-imports) at the solution or project level.
18+
The complete build process consists of
19+
20+
- [initial startup](#startup) - the processing of command-line options.
21+
- [evaluation](#evaluation-phase) - the interpretation and processing of the text of the MSBuild project file.
22+
- [execution](#execution-phase) - runs the targets and tasks that build the project.
23+
24+
In addition to the source files and other input artifacts, external imports define the details of the build process, including both [standard imports](#standard-imports) such as *Microsoft.Common.targets* and [user-configurable imports](#user-configurable-imports) at the solution or project level.
1925

2026
## Startup
2127

0 commit comments

Comments
 (0)