winapp-identity
When to use
Use this skill when:
- The exe is separate from your app code — e.g., Electron apps where
electron.exeis innode_modules, not your build output - Testing sparse package behavior specifically —
AllowExternalContent,TrustedLaunch, etc. - Registering identity without copying files —
create-debug-identityleaves the exe in place
Prefer
winapp runfor most frameworks. If your exe is inside your build output folder (.NET, C++, Rust, Flutter, Tauri), usewinapp run <build-output>instead — it registers a full loose layout package and launches the app, simulating an MSIX install. Usecreate-debug-identityonly whenwinapp rundoesn't fit your scenario.
Prerequisites
Package.appxmanifestin your project — fromwinapp initorwinapp manifest generate- Built executable — the
.exeyour app runs from
What is package identity?
Windows package identity enables your app to use restricted APIs and OS integration features:
- Push notifications (WNS)
- Background tasks
- Share target / share source
More from microsoft/winappcli
winapp-package
Package a Windows app as an MSIX installer for distribution or testing. Use when creating a Windows installer, packaging an Electron/Flutter/.NET/Rust/C++/Tauri app for Windows, building an MSIX, distributing a desktop app, packaging a console app or CLI tool, or adding MSIX packaging to a build script or CI/CD pipeline.
5winapp-setup
Set up a Windows app project for MSIX packaging, Windows SDK access, or Windows API usage. Use when adding Windows support to an Electron, .NET, C++, Rust, Flutter, or Tauri project, or restoring SDK packages after cloning.
5winapp-frameworks
Framework-specific Windows development guidance for Electron, .NET (WPF, WinForms), C++, Rust, Flutter, and Tauri. Use when packaging or adding Windows features to an Electron app, .NET desktop app, Flutter app, Tauri app, Rust app, or C++ app.
5winapp-signing
Create and manage code signing certificates for Windows apps and MSIX packages. Use when generating a certificate, signing a Windows app or installer, or fixing certificate trust issues.
4winapp-manifest
Create and edit Windows app manifest files (appxmanifest.xml) that define app identity, capabilities, and visual assets, or generate new assets from existing images. Use when creating a Windows app manifest for any app type (GUI, console, CLI tool, service), adding Windows capabilities, generating new app icons and assets, or adding execution aliases, file associations, protocol handlers, or other app extensions.
4winapp-troubleshoot
Diagnose and fix common Windows app packaging, signing, identity, and SDK errors. Use when encountering errors with MSIX packaging, certificate signing, Windows SDK setup, or app installation.
4