Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This quick start guide walks you through setting up your WinUI and Windows App SDK development environment and creating your first app. To develop WinUI apps, you need:
- Visual Studio 2026 with the required workloads for WinUI and Windows App SDK
- Developer Mode enabled on your device
Set up your development environment
Open Windows Terminal and run the following command in PowerShell to automatically set up your environment using a WinGet Configuration file. This will:
- Install Visual Studio 2026 with the required workloads
- Enable Developer Mode
winget configure -f https://aka.ms/winui-config
Tip
To review the config file and learn more, see its [README](https://github.com/microsoft/winget-dsc/blob/main/samples/Configuration%20files/Learn%20tutorials/WinUI/README.md] on GitHub.
Create and launch your first WinUI app
Open Visual Studio and select Create a new project.
Search for WinUI, select the WinUI Blank App (Packaged) C# project template, and select Next.
Enter a project name and select Create.
Press Start (F5) to build and run your app.
Your app builds, deploys, and launches in debug mode:
You've built and launched your first WinUI app! 🎉
Next steps

Build your first WinUI app
Ready to go further? Follow the step-by-step tutorial to build a full WinUI app.

WinUI Gallery
Explore interactive examples of WinUI controls, features, and functionality.

Samples and resources
Browse code samples, starter projects, and tools to accelerate your development.
Windows developer