Reputation: 79
I know the there is plenty of threads about loading plugins in new app domain. My fault I didn't read them before.. I have this school project - plugin based app, which is almost done. Except one important point - plugins has to be loaded in new domain.. I create plugin based app using this article http://www.codeproject.com/Articles/6334/Plug-ins-in-C
I'm currently in time press with project deadline and i'm stucked with plugin in same application domain. In previous thread has been adviced to to use System.AddIn (I expected that) but, there is little think - i couldn find if its possible use plugins which contains UserControl elements using System.AddIn
Thank you for all your advices.
Upvotes: 0
Views: 421
Reputation: 4172
Maybe System.AddIn is a bit overkill for a school project. It has a quite high learning curve. I believe you are on the right track. You need to understand the basics on how to:
The rest of your program will be oblivious of all this. It will be the same because you will be using a proxy object on the main AppDomain while the actual add-in object will be on the new AppDomain. All the infrastructure is taken care of .Net Remoting.
Regards.
Upvotes: 1