-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the app container's icudt.dat file in app extensions #17877
Comments
@akoeplinger were you looking at hardcoding the path to the icudt.dt file for NativeAOT? Once we fix this issue, the icudt.dt file might not be inside the app bundle anymore for app extensions (we'll still know the path to the icudt.dat file, relative to the root of the app bundle, at build time). |
Right now we use this fallback path if the I think we could easily modify this to always pass in a path via that key and just assume it is relative to the bundle root. |
We consider it relative to the app bundle root. Required for xamarin/xamarin-macios#17877 and NativeAOT scenarios.
) We consider it relative to the app bundle root. Required for xamarin/xamarin-macios#17877 and NativeAOT scenarios.
The runtime change to support a relative ICU_DAT_FILE_PATH was merged and will show up in 8.0-preview6 |
.NET 9 uses "hybrid globalization" which doesn't rely on bundling ICU with the app anymore so this should no longer be needed going forward. |
Closing as per last comment. |
The icudt.dat file is copied to all app extensions as well as the app container.
This is rather useless, we only need one copy, and we can use the one in the app container.
This should save ~1.9mb per app extension.
The text was updated successfully, but these errors were encountered: