You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add System.Reflection.PathAssemblyResolver support for 'retargetable' assemblies #730
If any assemblies loaded by MetadataLoadContext were built against some older versions of mscorlib, PathAssemblyResolver will fail to match any newer versions of mscorlib present in assemblyPaths, due to a public key token mismatch. PathAssemblyResolver already supports taking the most recent version for target assemblies with an empty public key token.
Add support for most-recent assembly match when assembly being resolved is 'retargetable'.
This was fixed in .NET 5 - dotnet/corefx#40581. We did not take this change into .NET Core 3.1 since the evidence was not clear at that time that this would be a big problem.
Since the release of .NET Core 3.1, several WPF customers have reported that this is a blocking problem.
Activity
ericstj commentedon Dec 10, 2019
@steveharter can you port fca6032 to release/3.1 and drive through servicing process?
danmoseley commentedon Dec 10, 2019
Moved to dotnet/runtime for centralized query.
cc @ericstj, @nguerrera, @rladuca, @steveharter since notifications will have gotten lost.
ericstj commentedon Dec 10, 2019
Picking this up, discussed in tactics and approved if it makes it in today.
ericstj commentedon Dec 12, 2019
Per @mmitche dotnet/corefx#42768 (comment)
ericstj commentedon Mar 2, 2020
This was fixed in 3.1.2 with package System.Reflection.MetadataLoadContext\4.7.1.
WPF is still working on picking up the fix in the SDK.