Skip to content

Publish msixbundle from MAUI project? #11446

Answered by SWortham
SWortham asked this question in Q&A
Discussion options

You must be logged in to vote

It looks to me like this feature is missing from Visual Studio for a MAUI application. I say that because when I go to Visual Studio to publish my old UWP app, I see a dialog that says "Generate app bundle" but there is no such dialog when I publish the MAUI app.

I found a workaround. It's a bit cumbersome but it seems to work.

  1. Set AppxAutoIncrementPackageRevision to False in your PropertyGroup inside your csproj file.
  2. Create msix files for x86 and x64 (and whatever other targets you need) through the publish profiles in Visual Studio. Just use one publish profile per target. Make sure you specify a separate directory for each publish profile so they don't stomp on each other.
  3. Copy each …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SWortham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant