Skip to content
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

Open
epsmae opened this issue May 16, 2024 · 4 comments
Open

Publish Windows, AppStore Bundle (.msixupload) missing #22445

epsmae opened this issue May 16, 2024 · 4 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@epsmae
Copy link

epsmae commented May 16, 2024

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

  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:
#11446

Relevant log output

No response

@epsmae epsmae added the t/bug Something isn't working label May 16, 2024
Copy link
Contributor

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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@jsuarezruiz jsuarezruiz added the area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) label May 16, 2024
@jaosnz-rep
Copy link
Collaborator

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.

@jaosnz-rep jaosnz-rep added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels May 28, 2024
@baaaaif
Copy link

baaaaif commented May 28, 2024

here's another related issue/workaround worth to mention: #12327

this works great in my case when using a single rid (win10-x64)
does not work in my case with win10-x64;win10-arm64

@mattleibow (tagging you because of your comment with workaround in [12327](#12327 (comment))
Now that the Copilot+ devices with ARM64 processors are about to be released, it would be great if there was a better way out of the box, without any workaround/hack

@baaaaif
Copy link

baaaaif commented May 29, 2024

... my path got too long for win10-x64;win10-arm64 -.-
12327 contains a working solution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants