-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Satellite assembly support in NativeAOT #86651
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsWhile working on NativeAOT for iOS support we noticed that satellite resource assemblies aren't loaded in NativeAOT. This seems to be expected for now: runtime/src/coreclr/tools/aot/ILCompiler.Build.Tasks/ComputeManagedAssembliesToCompileToNative.cs Lines 167 to 170 in f6f7d89
Filing this issue to track enabling satellite assembly support.
|
I ran into this with the following code: var manager = new ResourceManager ("monotouchtest.Welcome", typeof (ResourcesTest).Assembly);
Assert.AreEqual ("G'day!", manager.GetString ("String1", new CultureInfo ("en-AU")), "en-AU"); seems like this is something quite a few apps would need in order to be shippable. |
Fixes #86651. This was implemented in .NET Native so we just need to resurface it from the compiler. Note that this is not full support for satellite assemblies (in the assembly binder, etc.) that never existed and nobody ever asked for and I don't even know what it entails.
While working on NativeAOT for iOS support we noticed that satellite resource assemblies aren't loaded in NativeAOT.
This seems to be expected for now:
runtime/src/coreclr/tools/aot/ILCompiler.Build.Tasks/ComputeManagedAssembliesToCompileToNative.cs
Lines 167 to 170 in f6f7d89
Filing this issue to track enabling satellite assembly support.
/cc @MichalStrehovsky @jkotas
The text was updated successfully, but these errors were encountered: