14

I am unable to find Microsoft's new development platform WinUI3 in visual studio. Should I install any components or something bug in my VS?

enter image description here

Mg Bhadurudeen
  • 1,140
  • 1
  • 12
  • 24

2 Answers2

15

You need to install the correct workload as 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:

You also have to:

  1. 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.
Luke Vo
  • 17,859
  • 21
  • 105
  • 181
7

In the Visual Studio Installer under "Workloads / Installation details" at the right side, enable:

  • ".NET desktop development" > "Windows App SDK C# Templates"
  • "Desktop development with C++" > "Windows App SDK C++ Templates"

enter image description here

All other required features will be selected automatically.

NineBerry
  • 26,306
  • 3
  • 62
  • 93