Using a custom AssemblyLoadContext to illustrate plugin architecture
In this demo, i m using a custom AssemblyLoadContext to load/run plugins with their dependencies (either satellite assemblies or native libraries).
💡 This demo use plugins with different versions of humanizer. By using a custom AssemblyLoadContext, each plugin's dependencies are loaded from the correct location, and one plugin's dependencies will not conflict with another.
Tools
: net 8.0, humanizer, fluent-validation