Skip to content

[browser][coreCLR] ICU sharding not working under CoreCLR WASM runtime #127516

@pavelsavara

Description

@pavelsavara

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions