Deploying your Napacitor Windows App to the Microsoft Store
Napacitor apps can ship on Windows, which is a capability the Capacitor workflow does not offer. The MAUI host builds a Windows desktop app, and the store-ready distribution format is MSIX. This page covers packaging, signing, and Microsoft Store submission.
MSIX vs. unpackaged
The generated host defaults to unpackaged mode (WindowsPackageType=None), which is the fastest way to iterate locally. For distribution, switch to MSIX:
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
<WindowsPackageType>MSIX</WindowsPackageType>
</PropertyGroup>
See the MAUI Windows deployment overview for the packaged vs. unpackaged trade-offs.
Packaging with dotnet publish
npx nap sync
dotnet publish maui/App.csproj -f net10.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=MSIX
The .msix package is written under maui/bin/Release/net10.0-windows10.0.19041.0/win10-x64/AppPackages/. MSIX packaging requires a few identity properties in App.csproj — set them once (only the Publisher is strictly required):
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
<WindowsPackageType>MSIX</WindowsPackageType>
<Publisher>CN=Contoso Software, O=Contoso Software, C=US</Publisher>
<PublisherDisplayName>Contoso Software</PublisherDisplayName>
<Version>1.0.0.0</Version>
<ApplicationTitle>My App</ApplicationTitle>
</PropertyGroup>
See Publish a packaged .NET MAUI app for Windows with the CLI for all available options.
Signing
MSIX packages must be signed to install.
- For sideloading: create a self-signed certificate, install it into
Trusted People/Trusted Rooton the target machines, and sign the package (dotnet publishcan sign with-p:PackageCertificateThumbprint=…). See the MSIX packaging docs. - For the Store: do not sign manually. Partner Center code signing signs your package as part of submission.
Submitting to the Microsoft Store
- Build the signed (or unsigned, for Store signing)
.msixpackage; - Create an app in Partner Center;
- Upload the package, fill in the store listing, and complete the certification checks.
For a walkthrough, see Publish your app to the Microsoft Store in the Windows app documentation.
Note: store submission and certification happen on Windows; unlike the App Store, there is no macOS or Xcode requirement.