PluginFramework icon indicating copy to clipboard operation
PluginFramework copied to clipboard

How can I load / unload / reload a plugin on runtime

Open ThatDeveloper opened this issue 3 years ago • 6 comments

Hey there, awesome project. What I was wondering is: How can I load and unload at runtime? I have read https://www.infoq.com/articles/Plugin-Framework-DotNet/ and was wondering if that is still the current state regarding unloading.

I am using .NET Core 5.

Best, Manuel

ThatDeveloper avatar Apr 21 '21 14:04 ThatDeveloper

Hi, Yes I too would love this feature. I was reading Assembly Unloading in .NET Core, thus it appears .NET core officially supports the unloading of Assemblies.

Could this feature be considered?

bradws avatar Nov 17 '21 13:11 bradws

This is something that is on a roadmap, unfortunately we can't yet commit to a specific date :( There's a PR available (thanks to @rolbre) which adds the feature but it's still waiting to be checked out.

Unloading was actually implemented at one point before the 1.0.0 release but the implementation was cumbersome so we ended up removing it. The idea was/still is to add it to the 2.0.0 release.

Thanks for the feedback!

mikoskinen avatar Nov 17 '21 15:11 mikoskinen

+1 Definitely something good to have. I'd like to show an admin page with all available plugins and let the user install/uninstall whichever ones he wants.

gordon-matt avatar Jan 31 '22 00:01 gordon-matt

Would also love to see this! Is this project still maintained?

HybridSolutions avatar Apr 06 '22 14:04 HybridSolutions

news?

franklupo avatar Sep 15 '22 09:09 franklupo

@mikoskinen Is this still planned? Is there going to be a v2.0 and will it support this feature?

gordon-matt avatar Jul 23 '23 06:07 gordon-matt