Skip to content

Commit 009be7c

Browse files
Fix assembly version conflict on GxRedis: Added AssemblyResolve handler to load Microsoft.Bcl.AsyncInterfaces v8.0.0.0 when v5.0.0.0 is requested. (#1102)
1 parent 40b5fc3 commit 009be7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Core/gxconfig.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEven
501501
{ "System.Threading.Tasks.Extensions", new Version(4, 2, 0, 1) },
502502
{ "System.Runtime.CompilerServices.Unsafe", new Version(4, 0, 4, 1) },
503503
{ "System.Buffers", new Version(4, 0, 3, 0)},
504-
{ "System.Memory",new Version(4, 0, 1, 1) }
504+
{ "System.Memory",new Version(4, 0, 1, 1) },
505+
{ "Microsoft.Bcl.AsyncInterfaces",new Version(8, 0, 0, 0) }//redirection required for StackExchange.Redis
505506
};
506507

507508
static string GeoTypesAssembly = "Microsoft.SqlServer.Types";

0 commit comments

Comments
 (0)