Install the Windows App SDK
Prerequisites
Before installing the Windows App SDK, ensure you have the following:
- Windows 10 version 1809 (build 17763) or later.
- Visual Studio 2022 (17.4 or newer) or the .NET 6 SDK.
- Windows 11 SDK (10.0.22621.0) – optional but recommended.
Optional: Full requirements list.
Install via Visual Studio
1. Open Visual Studio Installer and click Modify on your Visual Studio 2022 installation.
2. Under the Individual components tab, select:
- Windows 10 SDK (10.0.19041.0) or newer
- .NET Desktop Development
- Microsoft.WindowsAppSDK (Project templates)
3. Click Modify to apply changes.
4. In Visual Studio, create a new project and choose the Windows App SDK template.
// No code needed – just select the template in the UI.
Install via command‑line (winget)
Open a PowerShell or Command Prompt as Administrator and run:
winget install Microsoft.WindowsAppSDK -s msstore
Alternatively, use the NuGet CLI to add the SDK to an existing project:
dotnet add package Microsoft.WindowsAppSDK
Verify the installation
Run the following command to see the installed SDK version:
dotnet list package | findstr WindowsAppSDK
You should see an entry similar to:
Microsoft.WindowsAppSDK 1.5.0
Uninstall the Windows App SDK
Using winget:
winget uninstall Microsoft.WindowsAppSDK
Or remove the NuGet package from your project:
dotnet remove package Microsoft.WindowsAppSDK
Next steps
After installing, you can start building apps with the Windows App SDK. See the Getting Started guide for detailed tutorials.