-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
First of all, thank you for the great job with this library!
I’m encountering an issue with a library that relies on creating a CultureInfo object, which fails due to the globalization-invariant mode being enabled.
Exception Details:
System.Globalization.CultureNotFoundException:
Message='Only the invariant culture is supported in globalization-invariant mode.
What I Tried:
I attempted to set System.Globalization.Invariant to false in my configuration, but this did not resolve the issue. Upon further investigation, I found that the Bootsharp.props file contains the following:
<InvariantGlobalization>true</InvariantGlobalization>
Question:
Is there any way to override InvariantGlobalization=true in the current setup? If not, are there alternative approaches to enable support for CultureInfo in the Wasm build?
Thank you for your help!
Notes
An alternative to supporting the default globalization (and including the ICU payload) is to use the currently experimental hybrid globalization: