You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a .NET 8 console application that ultimately spawns a WebView2 Control within a WinForm
We've recently set <InvariantGlobalization>true</InvariantGlobalization> in our .csproj to deal with System.Text JSON deserialization issues,
Since this has been released we've been seeing the following in our logs
System.Globalization.CultureNotFoundException
Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'culture')
3081 (0x0c09) is an invalid culture identifier.
What happened?
We have a .NET 8 console application that ultimately spawns a WebView2 Control within a WinForm
We've recently set
<InvariantGlobalization>true</InvariantGlobalization>
in our .csproj to deal with System.Text JSON deserialization issues,Since this has been released we've been seeing the following in our logs
Stack trace:
We aren't explicitly attempting to set any culture info on the WebView2 control
Can someone confirm if this a supported configuration?
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
Winforms
Operating System
Windows 10, Windows 11
OS Version
No response
Repro steps
We don't have clear steps to reproduce but this is affecting multiple different clients and their devices.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: