Prepare a Windows app for building and distribution
This approach leads to a chosen Windows app foundation, a build you can verify, and a clear way to deliver it to users. The kit contains alternative approaches, not a list of mandatory installations. First choose native XAML or a web interface; add agent skills and documentation integrations as needed.
Steps
Choose a foundation and create a minimal screen
For a new WinUI 3 project, use specialized Windows skills as guidance; for a WPF project you intend to keep, use WPF Samples; for a desktop web interface, use a Tauri workflow. Choose one approach and implement one main action. A WinUI migration skill is unnecessary for a project that should remain WPF.
Check the environment for your chosen approach
For native Windows development, check the SDK, .NET, and WinApp CLI against your chosen versions. For Tauri, check its workflow requirements. Produce a repeatable build of a minimal app; instructions do not replace the SDK or project dependencies.
Give the agent documentation and diagnostics As needed
If you are developing with an agent, Microsoft Learn MCP helps verify APIs against online documentation. .NET Agent Skills helps with MSBuild, NuGet, and diagnostics for the native .NET approach. Use specialized tools for Tauri; these .NET skills are not mandatory Tauri dependencies.
Test the finished window's behavior
Use the keyboard to complete the main action, trigger an error, and repeat the action; increase scaling and check long labels. For native apps, WinApp CLI helps capture UI Automation state, but you still need to assess visual clipping and layout. For Tauri, test the finished desktop window with your chosen tools.
Prepare a package and test installation
Build a package for the chosen native approach or a Tauri installer. Define signing, updates, and a distribution channel. Test installation, launch, updates, and removal on a clean compatible machine; a successful launch from the development environment does not establish these.
Conditions and limitations
- Native Windows builds require compatible Windows, SDKs, and tools for the chosen version.
- WinApp CLI is in preview; UI Automation depends on controls, AutomationId, and an interactive desktop.
- A signing certificate, paid CI, store distribution, and an AI client may have separate costs.
- Check component, icon, and font licenses separately; free instructions do not grant rights to external materials.
How to check the result
- One main UI approach is chosen and dependency versions are recorded.
- The build can be repeated from saved source code, not only in the current IDE.
- The main workflow, errors, keyboard controls, and scaling are tested in the finished window.
- Installation and removal are tested separately from launching a debug build.
Other approaches
- Tauri — official starters and build workflow
A desktop approach with a web interface and Rust instead of native XAML.
- Microsoft WPF-Samples
A foundation for an existing WPF project that will not migrate to WinUI.