-
Notifications
You must be signed in to change notification settings - Fork 698
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
WinUI 3 release mode crash Microsoft.ui.xaml.dll, #9914
Comments
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! Closed similar issues:
|
As described in the comments of the linked issues this is a bug that will be fixed in Windows App SDK 1.6. The workaround for this issue is to set |
Modifying the .pubxml file as shown above resolved the issue. |
Describe the bug
When trying to launch a packaged WinUI 3 application in Release mode that was created using the Blank App, Packaged (WinUI 3 in Desktop) project template, I receive an exception stating, "Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0" and the application crashes.
Steps to reproduce the bug
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
parameter to the application .csproj file to indicate that the application should be self contained.Expected behavior
The application should launch without an exception.
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.6: 1.5.240802000
Windows version
Windows 11 (22H2): Build 22621
Additional context
The application also crashes after successfully installing if you use the create app package option by right clicking the project file and following the steps to sideload the app. The msix is created and installs the app but the application will crash when launching and the event viewer shows "Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0",
The text was updated successfully, but these errors were encountered: