brz
brz

Reputation: 1969

Loading DLLs built for different runtime versions in .NET Core AssemblyLoadContext

We use .NET 6's AssemblyLoadContext to setup a plugin system.

Is it, for example, possible to load a .NET Core 3 or a .NET 5 dll in an AssemblyLoadContext in a process that was built for .NET 6? And what are the implications and/or side-effects of doing so?

Are there certain best practices that should be taken into consideration, or is mixing runtime versions in AssemblyLoadContexts something that shouldn't be done at all?

Upvotes: 2

Views: 217

Answers (0)

Related Questions