Merge pull request #100187 from atlasapplications/dotnet-export-icu

Update Dotnet iOS Export Process
This commit is contained in:
Thaddeus Crews 2025-07-03 12:21:26 -05:00
commit fc20bb6b03
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -15,7 +15,12 @@
<Target Name="PrepareBeforeIlcCompile"
BeforeTargets="IlcCompile">
<Copy SourceFiles="%(ResolvedRuntimePack.PackageDirectory)/runtimes/$(RuntimeIdentifier)/native/icudt.dat" DestinationFolder="$(PublishDir)"/>
<PropertyGroup>
<IcuTargetDir>%(ResolvedRuntimePack.PackageDirectory)/runtimes/$(RuntimeIdentifier)/native/icudt.dat</IcuTargetDir>
<IcuEnabled Condition="Exists('$(IcuTargetDir)')">true</IcuEnabled>
</PropertyGroup>
<Copy SourceFiles="$(IcuTargetDir)" DestinationFolder="$(PublishDir)" Condition=" '$(IcuEnabled)' == 'true' "/>
<!-- We need to find the path to Xcode so we can set manual linker args to the correct SDKs
Once https://github.com/dotnet/runtime/issues/88737 is released, we can take this out