-
Notifications
You must be signed in to change notification settings - Fork 375
Description
Describe the bug
When running msbuild
with UapAppxPackageBuildMode=StoreUpload
, there is no .msixupload
being generated. Also, when multiple AppxBundlePlatforms
are supplied, only the first version is compiled. Maybe there is a crash somewhere along the way, but there is no indication of such in the terminal
Context: I am currently migrating our application from .NET Native to AOT UWP. Most of the way was smooth and I am very thankful this is a thing. However, I have come across issues when trying to publish the application. I have an automatic build pipeline, so I need to package and sign the app over the command line and am not able to use the Create App Packages wizard.
Steps to reproduce the bug
- Download the solution
- Open the terminal in
Noteastic
- Run
MSBuild.exe Noteastic.csproj /p:Configuration=Release /p:Platform=x86 /p:UapAppxPackageBuildMode=StoreUpload
Expected behavior
If I do Publish -> Create App Packages and use the wizard, I get a complete .msixupload with all AppxBundlePlatforms respected. I expect the same output as from the wizard, in order for me to be able to build the pipeline.
Screenshots
After running the command, I only get:
But after running the wizard, I get:
NuGet package version
None
Packaging type
No response
Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
IDE
Visual Studio 2022
Additional context
The images are results from the minimal repro, which I have provided here: