Binding redirects for .NET Core
Google doesn't help me too too much in answering the question why are binding redirects not available for .NET Core.
How does .NET (Core) solved the issues that .NET Framework faced by eliminating binding-redirects altogether?
6 Replies
GAC isn't supported in .net core.
What scenario do you need binding redirects in .NET Core?
binding redirects were more of a proxy for general binding behavior I was looking for.
in .NET Framework you need the exact version of an assembly. In .NET (Core) you seem to need >=specified version
Managed to find a bit more in depth answer here (big shout out to the person doing the digging in the runtime repo) https://stackoverflow.com/questions/69852563/why-does-a-force-downgrade-causes-an-assembly-load-exception-in-net-core/69854050#69854050
Just wondering if this binding >= is specfied or documented somewhere more officially?
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
I mean getting rid of GAC solved a lot of issues.
Dependency loading in general is documented at https://learn.microsoft.com/en-us/dotnet/core/dependency-loading/overview
Dependency loading - .NET
Overview of managed and unmanaged dependency loading in .NET 5+ and .NET Core