maui icon indicating copy to clipboard operation
maui copied to clipboard

Publish Windows, AppStore Bundle (.msixupload) missing

Open epsmae opened this issue 9 months ago • 1 comments

Description

Publishing a .Net Maui App to Windows store is quite a challenging task. There is documentation but it seems like the visual studio maui integration is not yet completed as AppBundle can not be selected anymore in the wizzard compared to uwp (Publish UWP to Store).

The docs only mention sideloading: https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-visual-studio-folder?view=net-maui-8.0

I tried also over the dotnet publish command but this has the same effect I was not able to get the .msixupload file. https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-unpackaged-cli?view=net-maui-8.0

There are many obstacles to publish the windows app independent of this issue: https://github.com/dotnet/maui/issues/8304 https://github.com/dotnet/maui/issues/13869 https://github.com/dotnet/maui/issues/9547 https://github.com/dotnet/maui/issues/9879 https://github.com/microsoft/WindowsAppSDK/issues/3337 https://github.com/dotnet/maui/issues/10564

Steps to Reproduce

  1. Create a dotnet new maui project
  2. Select Windows as Target
  3. Right click Publish
  4. Select MicrosoftStore as or Microsoft Store under new app if you have not yet selected
  5. Select publish profile for Release x64
  6. Select generate artifacts to validate...
  7. Select create
  8. Optional run test after successful publish
  9. Observe in publish directory that the .msixupload is missing

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

windows10.0.19041.0

Did you find any workaround?

There is one but I don't think it is acceptable: https://github.com/dotnet/maui/discussions/11446

Relevant log output

No response

epsmae avatar May 16 '24 09:05 epsmae