-
Notifications
You must be signed in to change notification settings - Fork 486
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
[src/runtime] Fix lookup of RID-specific satellite resources. Fixes #16847. #17117
[src/runtime] Fix lookup of RID-specific satellite resources. Fixes #16847. #17117
Conversation
…amarin#16847. If we're creating a universal app, and here are satellite assemblies that are not identical across all RuntimeIdentifiers, those assemblies will be stored in a RuntimeIdentifier-specific subdirectory during the build. Unfortunately we didn't know how to find those assemblies at runtime, causing localizations in universal apps to not work. This change will: * Add support for looking in the directory where RID-specific satellite assemblies are stored. * Add an assembly resolution event handler to our CoreCLR bridge so that we can execute our custom lookup code. * Add a assembly resource lookup test to monotouch-test. * Add a macOS + Mac Catalyst variation of monotouch-test to xharness that triggers the bug (a universal test app). Fixes xamarin#16847.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Blocked on #17177. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes)
NET (empty diffs)
✅ API diff vs stableLegacy Xamarin (No breaking changes).NET (No breaking changes)✅ Generator diffGenerator diff is empty Pipeline on Agent |
📚 [PR Build] Artifacts 📚Artifacts were not provided. Pipeline on Agent XAMBOT-1108.Monterey' |
💻 [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻✅ All tests on macOS M1 - Mac Big Sur (11.5) passed. Pipeline on Agent |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 225 tests passed 🎉 Tests counts✅ bcl: All 69 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
…amarin#16847. (xamarin#17117) If we're creating a universal app, and here are satellite assemblies that are not identical across all RuntimeIdentifiers, those assemblies will be stored in a RuntimeIdentifier-specific subdirectory during the build. Unfortunately we didn't know how to find those assemblies at runtime, causing localizations in universal apps to not work. This change will: * Add support for looking in the directory where RID-specific satellite assemblies are stored. * Add an assembly resolution event handler to our CoreCLR bridge so that we can execute our custom lookup code. * Add an assembly resource lookup test to monotouch-test. * Add a macOS + Mac Catalyst variation of monotouch-test to xharness that triggers the bug (a universal test app). Fixes xamarin#16847.
If we're creating a universal app, and here are satellite assemblies that are not
identical across all RuntimeIdentifiers, those assemblies will be stored in a RuntimeIdentifier-specific
subdirectory during the build.
Unfortunately we didn't know how to find those assemblies at runtime, causing localizations
in universal apps to not work.
This change will:
are stored.
execute our custom lookup code.
the bug (a universal test app).
Fixes #16847.