-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish Windows, AppStore Bundle (.msixupload) missing #22445
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Closed similar issues:
|
I tried on .NET MAUI App (8.0.40/8.0.21) and can repro this issue, after publish Windows to Microsoft Store, the bundle.upload file could not be generated. But on Xamarin.Forms it worked fine. |
here's another related issue/workaround worth to mention: #12327 this works great in my case when using a single rid (win10-x64) @mattleibow (tagging you because of your comment with workaround in [12327](#12327 (comment)) |
... my path got too long for win10-x64;win10-arm64 -.- |
@jsuarezruiz yes I got it working with the workaround but as mentioned in this ticket I don't think this is acceptable. |
I am able to successfully create a '.msixbundle' file from dotnet but I am still having issues producing a '.msixupload' file despite following @mattleibow instructions. Can someone who has successfully produced a '.msixupload' file, on MAUI, please elaborate? Thanks |
So we are almost ready to ship our Windows UWP Xamarin.Forms app to .Net MAUI conversion. Am I correct in understanding that even through the CLI we don't have the ability still to create a package to upload to the Microsoft Store? I just tried and all I get is an MSIX under the _Test folder. Is there something with what I'm doing here?
|
@sorrybomber were you able to find a way to generate a '.msixupload' file to be able upload to the Microsoft Store? We're getting to release and I feel like I'm about to tell management that after all our work to start on this endeavor we won't be able to release. |
@mnxamdev I got it working with the proposed workaround from @mattleibow I really hope you have better luck than me, these are the steps I took to get the .msixupload
|
@epsmae Have you tried a submission? |
@baaaaif no I have not yet submitted it, as I have read that this will be declined (don't find the link right now). |
yes, in the past that was a problem and apps were rejected. But not necessarily, you just had to state why you were using fullTrust and the apps could then be approved. |
@baaaaif Cool, thanks for the Feedback. |
@epsmae thanks so much for the reply. Unfortunately when I use dotnet publish or dotnet build I still get a .msixbundle instead of a .msixupload. Also, the package is 4 times the size at 240MB of our Xamarin.Forms package. I was using --self-contained but tried without and it only decrease by 80MB. We used to use the following to build Xamarin.Forms Windows UWP:
If we're delivering this to the Microsoft store do we need to use --self-contained? We did that for internal builds because we got some message upon install that they needed to download .Net runtime or something to that effect. |
I just had to do this myself. Is there any update if they will introduce bundle generation in MAUI? We can't update our App if it isn't a bundle... |
@mnxamdev you need to use self contained otherwise it gets rejected something like "requires an external dependency to .net". I also get an .msixbundle but this is fine, you can use that to upload to the store. |
I just recently successfully got a .NET MAUI Blazor Hybrid app approved through the Microsoft Store. I had to publish as self-contained and bundle the Windows App SDK. Here is the publish command I used that successfully created an .msix file that produced a self-contained app (includes the .NET runtime) and bundled the Windows App SDK:
Upon submission it did request why I am using Full Trust and I used the following as my explanation:
|
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:
#8304
#13869
#9547
#9879
microsoft/WindowsAppSDK#3337
#10564
Steps to Reproduce
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:
#11446
Relevant log output
No response
The text was updated successfully, but these errors were encountered: