How to reference a DLL on runtime?

后端 未结 6 975
有刺的猬
有刺的猬 2020-12-08 23:43

I\'m building an application with WPF and C#, basically I want to allow anyone to create a dll and put it into a folder (similar to plugins). The application will take all t

6条回答
  •  情话喂你
    2020-12-09 00:13

    Have a look at MEF. it should provide exactly what you are looking for.

    Using reflection is also an option, but MEF will be a better choice if you ask me.

提交回复
热议问题