
The winapp CLI specifically targets developers working outside Visual Studio or MSBuild environments, including web developers using Electron, C++ developers with CMake, and .NET, Rust, or Dart programmers building Windows applications.
The tool addresses the traditional complexity of Windows development by consolidating SDK management, manifest editing, certificate generation, and packaging requirements into a unified command-line interface.
Key Features and Capabilities
Environment Setup: The init command automates workspace bootstrapping by downloading SDK packages, generating projections (starting with C++/WinRT), and configuring projects for development. For shared projects, the restore command recreates environment states, while GitHub and Azure DevOps actions enable automated CLI installation for CI/CD pipelines.
Package Identity for Debugging: Modern Windows APIs requiring Package Identity including Windows AI APIs, Security, and Notifications can now be tested without full packaging and installation. The create-debug-identity command adds package identity to executables, maintaining existing developer workflows.
Manifest and Certificate Management: The CLI automates appxmanifest.xml creation and development certificate setup. Commands enable manifest generation from projects or executables, image asset updates, and self-signed certificate creation with optional local installation.
MSIX Packaging: The pack command produces store-ready or sideload-ready MSIX packages from build outputs, handling both packing and signing processes.
Electron Integration: Available as an npm package, the CLI scaffolds C++ or C# native addons pre-configured for Windows App SDK and Windows SDK access. The node add-electron-debug-identity command injects Package Identity into running Electron processes, enabling API testing without additional configuration.
The tool is available via WinGet (winget install microsoft.winappcli) for general use and npm (npm install --save-dev @microsoft/winappcli) for Electron projects. Documentation, guides, and issue tracking are available on the GitHub repository.
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.
The post Microsoft Unveils winapp CLI to Modernize and Simplify Windows Application Development appeared first on Cyber Security News.
Discover more from RSS Feeds Cloud
Subscribe to get the latest posts sent to your email.
