Uh oh!
There was an error while loading. Please reload this page.
Implement resource lookup in satellite assemblies - #86689
Conversation
ghost
commented
May 24, 2023
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
|
vitek-karas
commented
May 24, 2023
I think we should add at least some testing for this. |
MichalStrehovsky
commented
May 24, 2023
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
MichalStrehovsky
commented
May 24, 2023
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. |
vitek-karas
commented
May 24, 2023
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. |
MichalStrehovsky
commented
May 24, 2023
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. |
MichalStrehovsky
commented
May 25, 2023
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
MichalStrehovsky
commented
May 25, 2023
This is ready for review now. |
MichalStrehovsky
commented
May 25, 2023
Wow, what a dumb reason to fail the build! |
MichalStrehovsky
commented
May 29, 2023
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