Skip to content

Commit 292eadc

Browse files
authored
Merge pull request #14993 from v-albemi/vs-screenshots-5
Screenshot consistency - Visual Studio 2026
2 parents d5b399b + 6900bab commit 292eadc

4 files changed

Lines changed: 33 additions & 5 deletions

File tree

docs/ide/how-to-configure-projects-to-target-platforms.md

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ manager: mijacobs
2525
Visual Studio enables you to set up your application builds to target different platforms (processor architectures), including Arm64 and other platforms. You don't need to be running Visual Studio on a platform in order to build for that target platform. For more information about Arm64 support in Visual Studio, see [Visual Studio on ARM-powered devices](../install/visual-studio-on-arm-devices.md). For 64-bit platform support for .NET development, see [64-bit applications](/dotnet/framework/64-bit-apps).
2626

2727
> [!NOTE]
28-
> Visual Studio 2022 runs as a 64-bit application. This is totally separate from the platforms you can target for your projects in Visual Studio. You can use any version of Visual Studio to target both 32-bit and 64-bit platforms.
28+
> Visual Studio runs as a 64-bit application. This is totally separate from the platforms you can target for your projects in Visual Studio. You can use any version of Visual Studio to target both 32-bit and 64-bit platforms.
2929
::: moniker-end
3030

3131

@@ -39,7 +39,7 @@ To target some platforms in a native C++ project, you need to install the build
3939
For .NET development, .NET 6 or later is required to target the Arm64 platform. See [.NET Support for macOS 11 and Windows 11 for Arm64 and x64](https://github.com/dotnet/sdk/issues/22380).
4040
:::moniker-end
4141

42-
:::moniker range=">=vs-2022"
42+
:::moniker range="visualstudio"
4343
### To configure a project to target Arm64 and other platforms
4444

4545
1. On the menu bar, choose **Build** > **Configuration Manager**.
@@ -52,20 +52,48 @@ For .NET development, .NET 6 or later is required to target the Arm64 platform.
5252

5353
1. In the **Type or select the new platform** list, choose the desired platform (processor architecture); for example, `ARM64`.
5454

55-
![Screenshot showing choosing a new platform.](./media/vs-2022/choose-arm64-platform.png)
55+
![Screenshot showing choosing a new platform.](./media/visualstudio/choose-arm64-platform.png)
5656

5757
> [!NOTE]
5858
> If you give your configuration a new name, you may have to modify the settings in the **Project Designer** to target the correct platform.
5959
6060
1. If you want to copy the settings from a current platform configuration, choose it, and then choose the **OK** button.
6161

62-
![Screenshot showing the new solution platform and project platform](./media/vs-2022/created-arm64-platform-configuration.png)
62+
![Screenshot showing the new solution platform and project platform.](./media/visualstudio/created-arm64-platform-configuration.png)
63+
64+
> [!NOTE]
65+
> The **Win32** platform name is used for C++ projects, and it means **x86**. Visual Studio considers both project-level platforms and solution-level platforms, and the project platforms come from the language-specific project systems. C++ projects use **Win32** and **x64**, but the solution platforms use **x86** and **x64**. When you choose **x86** as the solution configuration, Visual Studio selects the **Win32** platform for C++ projects. To see both project-level platform and solution-level platform settings, open **Configuration Manager** and note the two platform settings. The solution-level platform is shown in the **Active solution platform** dropdown, and the table shows the project-level platform for each project.
66+
> ![Screenshot showing solution platform and project platform.](media/visualstudio/project-platform-win32.png)
67+
6368
:::moniker-end
6469

70+
:::moniker range="vs-2022"
71+
### To configure a project to target Arm64 and other platforms
72+
73+
1. On the menu bar, choose **Build** > **Configuration Manager**.
74+
75+
1. In the **Active solution platform** list, choose a platform for the solution to target, and then choose the **Close** button.
76+
77+
1. If the platform that you want doesn't appear in the **Active solution platform** list, choose **New**. After you install the tools for a particular platform, you'll be able to add the new solution and project configurations that target that platform.
78+
79+
The **New Solution Platform** dialog box appears.
80+
81+
1. In the **Type or select the new platform** list, choose the desired platform (processor architecture); for example, `ARM64`.
82+
83+
![Screenshot showing choosing a new platform.](./media/vs-2022/choose-arm64-platform.png)
84+
85+
> [!NOTE]
86+
> If you give your configuration a new name, you may have to modify the settings in the **Project Designer** to target the correct platform.
87+
88+
1. If you want to copy the settings from a current platform configuration, choose it, and then choose the **OK** button.
89+
90+
![Screenshot showing the new solution platform and project platform.](./media/vs-2022/created-arm64-platform-configuration.png)
6591

6692
> [!NOTE]
6793
> The **Win32** platform name is used for C++ projects, and it means **x86**. Visual Studio considers both project-level platforms and solution-level platforms, and the project platforms come from the language-specific project systems. C++ projects use **Win32** and **x64**, but the solution platforms use **x86** and **x64**. When you choose **x86** as the solution configuration, Visual Studio selects the **Win32** platform for C++ projects. To see both project-level platform and solution-level platform settings, open **Configuration Manager** and note the two platform settings. The solution-level platform is shown in the **Active solution platform** dropdown, and the table shows the project-level platform for each project.
68-
> ![Screenshot showing solution platform and project platform](media/project-platform-win32.png)
94+
> ![Screenshot showing solution platform and project platform.](media/project-platform-win32.png)
95+
96+
:::moniker-end
6997

7098
## Target platforms in the Project Designer or Project Properties UI
7199

15.3 KB
Loading
40 KB
Loading
40.3 KB
Loading

0 commit comments

Comments
 (0)