merken / Prise

A .NET Plugin Framework.
https://merken.github.io/Prise
MIT License
362 stars 39 forks source link

[BUG] When loading the same assembly twice #24

Closed merken closed 4 years ago

merken commented 4 years ago

Assembly scanning results in returning an entry per found plugin interface implementation, because of this, the same assembly is returned multiple times and thus loaded multiple times. This results in a runtime error when executing any of the plugins from this assembly.

Proposed fix: let assembly scanning return 1 assembly per found plugin implementation type.

merken commented 4 years ago

PR is open: https://github.com/merken/Prise/pull/25