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
// when decompiling assemblies that target frameworks prior to 4.0, we can fall back to the 4.0 assemblies in case the target framework is not installed.
// but when looking for Microsoft.Build.Framework, Version=15.0.0.0 we should not use the version 4.0 assembly here so that the LoadedAssembly logic can instead fall back to version 15.1.0.0
if(name.Version <= new Version(4,0,0,0))
{
assembly= SearchDirectory(name, framework_dirs);
if(assembly!=null)
returnassembly;
}
if(throwOnError)
thrownew ResolutionException(name,null,null);
returnnull;
}
Prior to 4.0 will fall back to .NET 6 rather than 4.0 as the comment indicate.
The text was updated successfully, but these errors were encountered:
ILSpy/ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs
Lines 430 to 442 in cbaf055
Prior to 4.0 will fall back to .NET 6 rather than 4.0 as the comment indicate.
The text was updated successfully, but these errors were encountered: