maui
maui copied to clipboard
Publish Windows, AppStore Bundle (.msixupload) missing
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
- Create a dotnet new maui project
- Select Windows as Target
- Right click Publish
- Select MicrosoftStore as or Microsoft Store under new app if you have not yet selected
- Select publish profile for Release x64
- Select generate artifacts to validate...
- Select create
- Optional run test after successful publish
- 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