WindowsAppSDK
WindowsAppSDK copied to clipboard
1.8-experimental 3: Publishing an msix package influences future builds
Describe the bug
After publishing an msix file from Visual Studio, the following property is added to the .csproj.user file:
<UapAppxPackageBuildMode>StoreAndSideload</UapAppxPackageBuildMode>
This causes the creation of an msix package for every future build from Visual Studio in Release mode. Also, publishing an unpackaged app fails. Workaround is to delete the .csproj.user file or just the added property after publishing.
Steps to reproduce the bug
- Publish an msix package of an app with appsdk 1.8 experimental 3 from Visual Studio
- Build the app from Visual Studio in Release mode
- Observe than an msix is unnecessarily created in the process
- Try to publish as an unpackaged app from Visual Studio
- Observe that this process fails unless the added option is removed from the .csproj.user file
Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.8 Experimental 2: 1.8.250515001-experimental2
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
IDE
Visual Studio 2022
Additional context
No response