winui-packaging

Installation
SKILL.md

Quick Reference

Task Command
Build for release .\BuildAndRun.ps1 . -c Release --arch x64 --no-launch
Package + sign winapp package <dir> --cert devcert.pfx
Generate + sign + package winapp package <dir> --generate-cert --install-cert
Generate dev certificate winapp cert generate
Trust certificate (admin) winapp cert install ./devcert.pfx
Sign existing file winapp sign ./app.msix ./devcert.pfx
Self-contained deployment winapp package <dir> --cert devcert.pfx --self-contained

End-to-End Workflow

Step 1: Build for Release

Build the project in Release configuration without launching it. Use the BuildAndRun.ps1 wrapper from the winui-dev-workflow skill — plain dotnet build does not load the bundled Microsoft.WindowsAppSDK.Analyzers, so release builds would ship without the analyzer gate that development builds get:

Installs
149
GitHub Stars
433
First Seen
May 13, 2026
winui-packaging — microsoft/win-dev-skills