Visual Studio 2022 年的 WinUI3 在哪里?
Where is WinUI3 in Visual Studio 2022?
我在visual studio中找不到微软的新开发平台WinUI3。我应该在我的 VS 中安装任何组件或某些错误吗?
您需要安装正确的工作负载 described here:
Required workloads and components While installing Visual Studio 2022
or 2019, select the following workloads and components.
On the Workloads tab of the installation dialog, select:
Universal Windows Platform development .NET Desktop Development
Desktop development with C++ On the Individual components tab of the
installation dialog, make sure Windows 10 SDK (10.0.19041.0) is
selected in the SDKs, libraries, and frameworks section.
In the Installation details pane of the installation dialog, make sure
C++ (v142) Universal Windows Platform tools is selected in the
Universal Windows Platform development section:
您还必须:
- Install the Windows App SDK extension for Visual Studio (VSIX)
The Windows App SDK includes project and item templates for creating and developing WinUI 3 apps. These project templates are available as Visual Studio extensions (VSIX) for Visual Studio 2022 / 2019.
我在visual studio中找不到微软的新开发平台WinUI3。我应该在我的 VS 中安装任何组件或某些错误吗?
您需要安装正确的工作负载 described here:
Required workloads and components While installing Visual Studio 2022 or 2019, select the following workloads and components.
On the Workloads tab of the installation dialog, select:
Universal Windows Platform development .NET Desktop Development Desktop development with C++ On the Individual components tab of the installation dialog, make sure Windows 10 SDK (10.0.19041.0) is selected in the SDKs, libraries, and frameworks section.
In the Installation details pane of the installation dialog, make sure C++ (v142) Universal Windows Platform tools is selected in the Universal Windows Platform development section:
您还必须:
- Install the Windows App SDK extension for Visual Studio (VSIX) The Windows App SDK includes project and item templates for creating and developing WinUI 3 apps. These project templates are available as Visual Studio extensions (VSIX) for Visual Studio 2022 / 2019.