Implement resource lookup in satellite assemblies (#86689)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 29 May 2023 23:58:32 +0000 (08:58 +0900)
committerGitHub <noreply@github.com>
Mon, 29 May 2023 23:58:32 +0000 (08:58 +0900)
commitb134fa28352ee718517aaee2920daa2498ed07df
tree5ce90667516b4fde300b2fe4af0f148a0c13226c
parent182591af3ea67a09bca7e0516b950dafce71d5a6
Implement resource lookup in satellite assemblies (#86689)

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.
12 files changed:
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
src/coreclr/tools/aot/ILCompiler.Build.Tasks/ComputeManagedAssembliesToCompileToNative.cs
src/coreclr/tools/aot/ILCompiler.Compiler.Tests/DependencyGraphTests.cs
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ModuleMetadataNode.cs
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/UsageBasedMetadataManager.cs
src/coreclr/tools/aot/ILCompiler/ILCompiler.props
src/coreclr/tools/aot/ILCompiler/ILCompilerRootCommand.cs
src/coreclr/tools/aot/ILCompiler/Program.cs
src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/ILCompilerDriver.cs
src/coreclr/tools/aot/crossgen2/crossgen2.props
src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs