Skip to content

Commit 11e6bb7

Browse files
committed
Merged main into live
2 parents 7cf77e1 + 95bb2f1 commit 11e6bb7

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

docs/ide/how-to-build-multiple-configurations-simultaneously.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,48 @@
11
---
2-
title: "Build multiple configurations"
3-
description: Build most types of projects with multiple, or even all, of their build configurations with one IDE action in Visual Studio.
4-
ms.date: 05/13/2020
2+
title: Build Multiple Configurations With One Request
3+
description: Build multiple or all configurations of a project in Visual Studio by making a single request with the Batch Build option.
4+
ms.date: 06/25/2025
55
ms.subservice: compile-build
66
ms.topic: how-to
77
author: ghogen
88
ms.author: ghogen
99
manager: mijacobs
10+
#customer intent: As a developer, I want to build multiple or all configurations of my project in Visual Studio, so I can use a single request to complete the task.
1011
---
12+
1113
# Build multiple configurations in a single build request
1214

13-
You can build most types of projects with multiple, or even all, of their build configurations with one IDE action by using the **Batch Build** dialog box. However, you can't build the following types of projects in multiple build configurations at the same time:
15+
Most project types in Visual Studio support building multiple or all configurations of the project with a single action (**Build** > **Batch Build**). However, three project types have restrictions that don't permit building multiple configurations simultaneously:
16+
17+
- Windows 8.x Store apps built for Windows with JavaScript
18+
- All Visual Basic projects
19+
- CMake projects
20+
21+
If your solution includes a project type that has build restrictions, the **Build** > **Batch Build** option isn't available. For more information, see [Understand build configurations](../ide/understanding-build-configurations.md).
22+
23+
## Build multiple configurations for a project
24+
25+
The following steps show how to build multiple configurations of a project at the same time:
1426

15-
1. Windows 8.x Store apps built for Windows using JavaScript.
27+
1. In Visual Studio, select **Build** > **Batch Build**, or enter the **Ctrl**+**Q** keyboard shortcut, and search for _Batch Build_.
1628

17-
2. All Visual Basic projects.
29+
1. In the **Batch Build** dialog, select the check box in the **Build** column for each configuration you want to build for the project.
1830

19-
3. CMake projects.
31+
You can also [edit the build configurations for all projects in a solution](#edit-build-configurations-for-a-solution) and build them from the **Batch Build** dialog.
2032

21-
If a solution contains any project of those two project types, then **Batch Build** is not available for that solution. In that case, the command doesn't appear on the **Build** menu.
33+
1. Select **Build** or **Rebuild**. Visual Studio builds all selected configurations of your project.
2234

23-
For more information about build configurations, see [Understand build configurations](../ide/understanding-build-configurations.md).
35+
## Edit build configurations for a solution
2436

25-
## To build a project in multiple build configurations
37+
The following steps show how to edit or create build configurations for a solution:
2638

27-
1. On the menu bar, choose **Build** > **Batch Build**. Or, press **Ctrl**+**Q** to open the search box, and search for `Batch Build`.
39+
1. Select **Build** > **Configuration Manager**.
2840

29-
2. In the **Build** column, select the check boxes for the configurations in which you want to build a project.
41+
1. In the **Configuration Manager** dialog, edit the configurations for the solution.
3042

31-
> [!TIP]
32-
> To edit or create a build configuration for a solution, choose **Build** > **Configuration Manager** on the menu bar to open the **Configuration Manager** dialog box. After you have edited a build configuration for a solution, choose the **Rebuild** button in the **Batch Build** dialog box to update all build configurations for the projects in the solution.
43+
1. In the **Batch Build** dialog, select **Rebuild**.
3344

34-
3. Choose the **Build** or **Rebuild** buttons to build the project with the configurations that you specified.
45+
Visual Studio builds all configurations for the projects in the solution.
3546

3647
## Related content
3748

0 commit comments

Comments
 (0)