WinUI3 unmodified template crashes in release config: Unhandled exception at 0x00007FFBA70552F5 (Microsoft.ui.xaml.dll): 0xC000027B: An application-internal exception has occurred (parameters: 0x000001D814FC4330, 0x0000000000000002). #9793
Labels
bug
Something isn't working
Describe the bug
Creating a brand new solution with the "Blank App, Packaged (WinUI3 in Desktop)" (C#) fails to launch when built in release config.
I made a repro repo here: https://github.com/jcoliz/WinUI3.Hello.
Steps to reproduce the bug
Result: Unhandled exception at 0x00007FFBA70552F5 (Microsoft.ui.xaml.dll) in WinUI3.Hello.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001D814FC4330, 0x0000000000000002).
Debug output: Exception thrown at 0x00007FFBF082F39C (KernelBase.dll) in WinUI3.Hello.exe: WinRT originate error - 0x802B000A: 'The text associated with this error code could not be found.'.
Call stack
Just for fun, I repro'd this on an Arm64 device. Same result. Interesting that the call stack is deeper.
Unhandled exception at 0x00007FFDC46DA1E8 (Microsoft.ui.xaml.dll) in WinUI3.Hello.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001B997A89860, 0x0000000000000002).
Exception thrown at 0x00007FFE2929CFA4 (KernelBase.dll) in WinUI3.Hello.exe: WinRT originate error - 0x802B000A : 'The text associated with this error code could not be found.'.
Call stack
Expected behavior
App build in release config should behave just like app build in debug config. Shouldn't crash on launch.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001
Windows version
Windows 11 (22H2): Build 22621
Additional context
The text was updated successfully, but these errors were encountered: