Can't Figure Out How to Generate MSIX on Publishing MAUI App
I am trying to publish my app to the Microsoft Store, and I can't seem to generate the required MSIX package.
I am including the .csproj and app manifest files and applicable screenshots with this post.
When I click Create, the screen indicates that a package has successfully been created and placed in my /Package folder, but this folder is never generated, and I cannot find any .MSIX files anywhere in the solutions folder.
It is also strange that it creates a .NUPKG file. I have no idea why it is doing that.
Note that there is only one project in my solution -- I had two, but I combined the class library into the UI project, thinking that it might help somehow after struggling with this all day.
In the .csproj, I have tried setting
<GenerateAppInstallerFile>True</GenerateAppInstallerFile>
, but everytime I try to create the package, this setting gets reverted to False.
Any help would be appreciated. This is my first time trying to generate a MSIX, so I might be making a simple mistake -- not sure.1 Reply
Also, here is the output from when I try to create the package:
I ended up using msbuild command after some toying around and got it to build. App is successfully in the store for my beta testers. If you're reading this in the future, no, I'm probably not smart enough to help you debug it. I just kept tinkering until it worked, and I don't know why it works compared to all the other times I tried.