-
Notifications
You must be signed in to change notification settings - Fork 334
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
ResourceLoader
crashes upon upgrading to 1.1.1
#2651
Comments
Do you have the 1.1.1 runtimes installed? |
I did go to great lengths to get the latest runtime packages to install successfully, the output showed it managed to load the runtime package and it did go into the app code until the line that instantiated the |
Ah ok. Can you zip up/attach your sample project? (just drop the zip into this issue) |
I just found out about Looking around about this error reveals a resolved issue from the PowerToys team #2583, I will see if that reveals something I am missing. |
Indeed what I missed was that I was using "system MRT" with a class name of |
Describe the bug
With the default Windows app SDK version of 1.0.3 from the C++/WinRT WinUI 3 in desktop template, instantiating a
ResourceLoader
works and loadsStrings/en-US/Resources.resw
normally. After upgrading the SDK to 1.1.1, such an instantiation produces "an application internal exception" ofimpl::error_out_of_bounds
and crashes the app.Steps to reproduce the bug
Strings/en-US/Resources.resw
.ResourceLoader
.Expected behavior
The
ResourceLoader
is instantiated successfully and the app can proceed.Screenshots
NuGet package version
1.1.1
Packaging type
Unpackaged
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: