ResourceLoader consistenly throws an exception of type 'System.TypeInitializationException' #16688
Labels
kind/enhancement
New feature or request
project/resources 🈷️
Categorizes an issue or PR as relevant to resources and localization (Resources, Assets,...)
Discussed in #16328
Originally posted by axtens April 17, 2024
Context: Uno4; VS2o22Community; Windows11
I had adapted code in the Switching to string resources (specifically, in the Reading string resources in code section) to store some JavaScript locally rather than depend on the internet to be always present.
The code I came up with for reading the custom RESX resource in String\en\JavaScriptLibraries.resx
In discord earlier problems with this were said to be able to be worked around using #11899, however I didn't find it particularly helpful.
Using the above code consistently fails with a COM error of some sort, namely
The text was updated successfully, but these errors were encountered: