When running Blazor WebAssembly E2E tests with UseMonoRuntime=false (CoreCLR WASM), the ICU sharding feature does not work correctly. The Blazor WASM runtime throws:
InvalidOperationException: Blazor detected a change in the application's culture that is not supported with the current project configuration.
To change culture dynamically during startup, set <BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData> in the application's project file.
Affected tests (all in WebAssemblyICUShardingTest):
- LoadingApp_FrenchLanguage_Works
- LoadingApp_KoreanLanguage_Works (4 parameter combinations)
- LoadingApp_KannadaLanguage_Works
- LoadingApp_RussianLanguage_Works
Discovered in aspnetcore PR dotnet/aspnetcore#66331
When running Blazor WebAssembly E2E tests with UseMonoRuntime=false (CoreCLR WASM), the ICU sharding feature does not work correctly. The Blazor WASM runtime throws:
Affected tests (all in WebAssemblyICUShardingTest):
Discovered in aspnetcore PR dotnet/aspnetcore#66331