Install tools for the Windows App SDK

Configure your development computer by installing the appropriate tools to develop apps for Windows with the Windows App SDK.

Note

This topic is for the stable release channel of the Windows App SDK—see Windows App SDK release channels. There's also Install tools for preview and experimental channels of the Windows App SDK.

Install Visual Studio

Use these links to install Visual Studio 2022 (recommended) or Visual Studio 2019. You can choose between the free Visual Studio Community edition, Visual Studio Professional, or Visual Studio Enterprise. Also see System requirements for Windows app development.

Required workloads and components

While installing Visual Studio, select these workloads and components.

  • On the Workloads tab of the installation dialog, select as appropriate:

    • For Universal Windows Platform (UWP) app development, select Universal Windows Platform development
      • Then in the Installation details pane of the installation dialog for that workload, make sure C++ (v143) Universal Windows Platform tools is selected.
    • For C# app development, select .NET Desktop Development
      • Then in the Installation details pane of the installation dialog, select Windows App SDK C# Templates (at the bottom of the list).
    • For C++ app development, select Desktop development with C++
      • Then in the Installation details pane of the installation dialog, select Windows App SDK C++ Templates (at the bottom of the list).
  • On the Individual components tab of the installation dialog, in the SDKs, libraries, and frameworks section, make sure Windows 10 SDK (10.0.19041.0) is selected.

Visual Studio project and item templates

The Windows App SDK includes Visual Studio project and item templates for creating and developing WinUI 3 apps.

If you followed the instructions in Required workloads and components above, then the templates are already installed.

Install Template Studio for WinUI (C#) to accelerate the creation of new .NET WinUI apps using a wizard-based UI. Select from a variety of project types and features to generate a project template customized for you.

For more versions of the Windows App SDK, see Downloads for the Windows App SDK.

Hybrid C/C++ runtime library linkage (hybrid CRT linkage)

In releases 1.0.3 and 1.1 Preview 2 and later, the Windows App SDK uses Hybrid C/C++ runtime library linkage (hybrid CRT linkage). This is a CRT linkage technique that simplifies deployment. Whether you're a C++ application developer or a C++ library developer, here are some resources for learning about hybrid CRT linkage.

Next steps

To create your first WinUI 3 app that uses the Windows App SDK, see Create your first WinUI 3 project.

Also see Use the Windows App SDK in an existing project.