Reputation: 405
I'm working on an application that loads in plugins through Assembly.Load
. I want to make sure plugins DLLs don't contain more compiled code then they need. Currently I've got 2 projects:
MyPlugin has a class implementing IPlugin
from the Application project, and references the project to do so.
Is this the correct way to do it or should I put IPlugin (along with interfaces for anything plugins need access to) in a separate project, or is there some other better way to do it?
Upvotes: 1
Views: 705