weikio / PluginFramework

Everything is a Plugin in .NET
MIT License
538 stars 101 forks source link

Question about ReflectionOnlyLoad #57

Open Tim-Utelogy opened 2 years ago

Tim-Utelogy commented 2 years ago

Does this library use ReflectionOnlyLoad when identifying assemblies to load? A quick search of the source tree seemed to suggest it doesn't.

With other libraries in the .net framework days, I experienced problems where merely searching for assemblies with a given class method signature would load the assembly into the process. Not only does that lock the file but IIRC it can mean unwanted static constructors get run. How does this library avoid such problems?