Publish Command

Publishes your Application to the Microsoft Store.

Usage Examples

Windows App SDK/WinUI 3

msstore publish "C:\path\to\winui3_app"

UWP

msstore publish "C:\path\to\uwp_app"

.NET MAUI

msstore publish "C:\path\to\maui_app"

Flutter

msstore publish "C:\path\to\flutter_app"

Electron

msstore publish "C:\path\to\electron_app"

React Native for Windows

msstore publish "C:\path\to\react_native_app"

PWA

msstore publish "C:\path\to\pwa_app"

Arguments

Option Description
pathOrUrl The root directory path where the project file is, or a public URL that points to a PWA.

Options

Option Description
-i, --inputDirectory The directory where the '.msix' or '.msixupload' file to be used for the publishing command. If not provided, the cli will try to find the best candidate based on the 'pathOrUrl' argument.
-id, --appId Specifies the Application Id. Only needed if the project has not been initialized before with the 'init' command.