Skip to content

NativeAOT: implement better logic for finding the icu data file #18471

@rolfbjarne

Description

@rolfbjarne

Ref: 6d2e0b5 (#17374)

Once this dotnet/runtime fix reaches us:

https://github.com/dotnet/runtime/pull/87813

We should revert it, and instead set the ICU_DAT_FILE_PATH property in the runtime config to the relative path inside the app bundle.

That would probably be something like:

<ItemGroup>
    <RuntimeHostConfigurationOption Include="ICU_DAT_FILE_PATH" Value="Contents/MonoBundle/icudt.dat" />
</RuntimeHostConfigurationOption>

We could probably do that for all architectures, and remove the current ICU_DAT_FILE_PATH logic in runtime.m

Metadata

Metadata

Assignees

Labels

enhancementThe issue or pull request is an enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions