Skip to content

Fix NativeAOT ICU build integration for Apple mobile platforms  #82389

Closed
@ivanpovazan

Description

@ivanpovazan

Description

Currently System.Globalization.Native is not being built as part of the build process for targeting Apple mobile platforms with NativeAOT. This implies that applications have to use invariant globalization mode.

Proposal

Support building System.Globalization.Native with NativeAOT when targeting mobile platforms and adjust build integration targets according to the fix:

<NetCoreAppNativeLibrary Include="System.Globalization.Native" Condition="'$(StaticICULinking)' != 'true' and '$(_IsiOSLikePlatform)' != 'true'" />

Until this is fixed, make sure that applications set: InvariantGlobalization=true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions