WinForm Plugin system
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-05-29T18:49:43Z
Indexed on
2010/05/29
18:52 UTC
Read the original article
Hit count: 360
I have created a c# 2.0 WinForm application which loads dlls, searches for an interface, and then loads the interface as a plugin. I am loading the plugins in the same appdomain as the main application because they have a GUI which I am directly loading into the application as a tab item.
I would like to load them in their own app domain, but do not think it is possible because of the GUI. I would also like to monitor them to tell if they are not responsive and unload them.
Is this possible? If I upgrade to WPF are things any simpler.
© Stack Overflow or respective owner