-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Implement resource lookup in satellite assemblies #86689
Conversation
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsFixes #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. Cc @dotnet/ilc-contrib
|
I think we should add at least some testing for this. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
You made me look harder for an existing test because I'm not keen to learn how to make satellite assemblies. Hopefully it will pass. |
Not sure if it's a good idea in runtime repo, but I would use Humanizer - it's a prime example of a NuGet which uses localized resources, so if that doesn't work, it's broken. |
I used System.CommandLine locally. It ships a ton of them. They all have the same strings because everything around System.CommandLine has been a disappointment for me and why would this be any different. Hacked my NuGet cache and updated a string in one of them with a hex editor so I could test this. Still better than learning how to make them. |
Back to draft. Found some issues when the resources don't come from nuget. We might need a brand new command line argument for these things. |
4dcb050
to
76c6c2c
Compare
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
This is ready for review now. |
Wow, what a dumb reason to fail the build!
|
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. Cc @dotnet/ilc-contrib |
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.
Cc @dotnet/ilc-contrib