winui-packaging

Installation
SKILL.md

Scope: WinUI 3 apps only. The Windows App SDK is not WinUI. A WPF, WinForms, Electron, or other app that references the Windows App SDK (for notifications, packaging, or other APIs) is not a WinUI app; keep its framework and don't apply this skill unless the task is to port it to WinUI 3. A WinUI 3 project has <UseWinUI>true</UseWinUI> or uses Microsoft.UI.Xaml.

Requires WinApp CLI 0.7+. For analyzer setup, see winui-dev-workflow.

Quick Reference

Task Command
Release package + sign winapp package .\MyApp.csproj --arch x64 --cert .\devcert.pfx
Unsigned multi-architecture bundle winapp package .\MyApp.csproj --arch x64 --arch arm64 --no-sign
Generate dev certificate winapp cert generate
Trust certificate (admin) winapp cert install ./devcert.pfx
Sign existing file winapp sign ./app.msix ./devcert.pfx
Bundle Windows App SDK runtime winapp package .\MyApp.csproj --arch x64 --cert .\devcert.pfx --self-contained

End-to-End Workflow

Step 1: Check the Project and Deployment Intent

Installs
18
GitHub Stars
1.3K
First Seen
Oct 8, 2026