Skip to content

Commit

Permalink
Fix assembly version conflict on GxRedis: Added AssemblyResolve handl…
Browse files Browse the repository at this point in the history
…er to load Microsoft.Bcl.AsyncInterfaces v8.0.0.0 when v5.0.0.0 is requested. (#1102)
  • Loading branch information
claudiamurialdo authored Feb 5, 2025
1 parent 40b5fc3 commit 009be7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dotnet/src/dotnetframework/GxClasses/Core/gxconfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEven
{ "System.Threading.Tasks.Extensions", new Version(4, 2, 0, 1) },
{ "System.Runtime.CompilerServices.Unsafe", new Version(4, 0, 4, 1) },
{ "System.Buffers", new Version(4, 0, 3, 0)},
{ "System.Memory",new Version(4, 0, 1, 1) }
{ "System.Memory",new Version(4, 0, 1, 1) },
{ "Microsoft.Bcl.AsyncInterfaces",new Version(8, 0, 0, 0) }//redirection required for StackExchange.Redis
};

static string GeoTypesAssembly = "Microsoft.SqlServer.Types";
Expand Down

0 comments on commit 009be7c

Please sign in to comment.