Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions