Publish a .NET Windows App to the Microsoft Store with MSIX

From Partner Center name reservation to a passed certification: package a WinUI 3 or WPF app as MSIX and get it into the Microsoft Store.

R M Shahidul Islam Shahed · 4 min read

The Microsoft Store is still the easiest way to put a Windows app in front of millions of people: it handles installs, updates and payments, and Windows users trust it. Getting there from a working .NET app takes a developer account, an MSIX package and a submission that passes certification. This guide walks through each step for a WinUI 3 or WPF app on .NET 10.

What you need before you start

  • A Partner Center developer account. Individual accounts are free to register; company accounts need business verification, which can take a few days. Start this first.
  • A privacy policy URL. Required if your app touches the network or collects any data, which almost every app does.
  • Screenshots at 1366×768 or larger, and a 300×300 store logo.
  • An app that runs on a clean machine. Test on a fresh Windows user account or a VM before you package.

Reserve the name and copy the identity

In Partner Center, create a new app and reserve its name. Names are unique across the Store, so reserve early. Then open Product management → Product identity. You will need three values from that page:

Value Example Goes into
Package/Identity/Name 12345YourCompany.NetMonitor Identity Name
Package/Identity/Publisher CN=1A2B3C4D-... Identity Publisher
Package/Properties/PublisherDisplayName Your Company PublisherDisplayName

A mismatch in any of these is the most common reason an upload is rejected before certification even starts.

Package the app as MSIX

WinUI 3 projects created from the Windows App SDK templates are single-project MSIX by default: the Package.appxmanifest is already in the project. WPF and WinForms apps need a Windows Application Packaging Project added to the solution, referencing the app project.

Open Package.appxmanifest and set the identity from Partner Center:

xml
<Identity
  Name="12345YourCompany.NetMonitor"
  Publisher="CN=1A2B3C4D-5E6F-7A8B-9C0D-1E2F3A4B5C6D"
  Version="1.0.0.0" />

<Properties>
  <DisplayName>Net Monitor</DisplayName>
  <PublisherDisplayName>Your Company</PublisherDisplayName>
  <Logo>Assets\StoreLogo.png</Logo>
</Properties>

The fourth part of the version must stay 0: the Store reserves it. Raise the first three parts for every submission.

The easiest way to get the identity right is to let Visual Studio do it: right-click the packaging project, choose Publish → Create App Packages, pick Microsoft Store as <your app name>, and sign in. Visual Studio writes the identity into the manifest for you.

Choose the architectures you support (x64 and ARM64 cover nearly all current Windows devices) and build. The output is an .msixupload file: that is what you submit. You don't need to sign it; the Store signs packages for you.

To build from the command line or CI instead:

bash
msbuild NetMonitor.Package.wapproj /p:Configuration=Release /p:Platform=x64 ^
  /p:UapAppxPackageBuildMode=StoreUpload /p:AppxBundle=Always ^
  /p:AppxBundlePlatforms="x64|arm64"

Run the Windows App Certification Kit

Before uploading, run the Windows App Certification Kit (installed with the Windows SDK) against your package. It catches the technical failures that would otherwise cost you a day in certification: missing assets, unsupported APIs, crashes on launch and slow start-up. Fix every failure; read every warning.

Fill in the submission

A submission has five sections. All must be complete before Submit is enabled.

  1. Pricing and availability: free or paid, markets, and whether the app is visible in search.
  2. Properties: category, privacy policy URL, and the system requirements you need (for example, a minimum of 4 GB RAM).
  3. Age ratings: a short questionnaire; answer honestly, because a wrong rating is a common reason for removal later.
  4. Packages: upload the .msixupload. Partner Center validates the identity right away.
  5. Store listings: description, screenshots, and search keywords. This is where people decide whether to install, so write it for them, not for a search engine.

Common certification failures

  • runFullTrust without a reason. WPF and WinForms packages declare this restricted capability. Partner Center asks you to explain why; "the app is a desktop app built with WPF that needs full trust to run" is enough.
  • The app crashes on launch on the tester's machine: usually a missing runtime or a file path that only exists on yours. Use ApplicationData.Current.LocalFolder or Environment.SpecialFolder.LocalApplicationData, never the install folder, for files the app writes.
  • The description promises features the app doesn't have, or uses another company's trademark in the name.
  • No privacy policy for an app that uses the network.

Certification usually takes a few hours to three business days. A failure report names the policy and the steps to reproduce; fix it, raise the version and resubmit.

After it's live

Updates follow the same path: raise the version, build a new .msixupload and create a new submission. Users get it automatically. Watch Analytics → Health in Partner Center for crash reports; they arrive with stack traces from real devices and are the fastest way to find bugs you can't reproduce.

Wrapping up

Reserve the name early, copy the identity exactly, package as MSIX, run the certification kit, and write a listing for the people reading it. The first submission is the slow one; after that, an update is a version number and an upload.

Keep reading

All articles →
Zero Byte Product Case Studies

Net Speed Meter: What 1M+ Microsoft Store Installs Taught Me

How a small Windows utility passed a million Store installs: what worked, what didn't, and the store changes that moved daily installs the most.

2 min read
Architecture & Production .NET

Background Jobs in ASP.NET Core with BackgroundService and PeriodicTimer

Run scheduled work inside your ASP.NET Core app: BackgroundService, PeriodicTimer, scoped DbContext, safe reruns, and when to reach for Hangfire.

4 min read
Performance & Optimisation

Measure Before You Optimise: BenchmarkDotNet for .NET Developers

Stopwatch timings lie. Set up BenchmarkDotNet, read its results, measure allocations and avoid the mistakes that make benchmarks meaningless.

4 min read