Closed aries-zhang closed 3 weeks ago
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. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Closing as VS 17.12 does fix this issue as mentioned here: https://github.com/microsoft/microsoft-ui-xaml/issues/9740#issuecomment-2249083831. However, still having another issue publishing ARM64 app, which is raised separately here: https://github.com/microsoft/microsoft-ui-xaml/issues/9998.
Describe the bug
WinUI 3 blank app created with the Visual Studio template "Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop)" does not start when published.
Steps to reproduce the bug
win10-x64
withwin-x64
to avoid the following error when publishing app package.<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
in the WinUI 3 app project file as the error message suggests.msixbundle
file to install the app.Expected behavior
The blank app should launch after installed with the published msixbundle package.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007
Windows version
Windows 11 (22H2): Build 22621
Additional context
Please see projects that reproduces this issue here: https://github.com/aries-zhang/winui3-adventure/tree/main/published-app-crashes
PackagedBlankApp is a blank app project created with the template "Blank App, Packaged (Win UI 3 in Desktop)" which does not have this issue. PackagedBlankAppWithWap is the project created with the template "Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop)" where this issue occurs.