Something like MEF (Managed Extensibility Framework) for .NET Framework 2.0

十年热恋 提交于 2019-12-11 03:33:36

问题


I used MEF in own of my projects and I liked it a lot. It was easy and after figuring our awkward API model, it just worked.

Now I need something like that for .NET Framework 2.0. Is there any similar project out there which can work under .NET Framework 2.0?

I'm simply looking for adding plug-in support to my project in a simple way.


回答1:


Have a look at Mono.Addins AFAIK its built upon .NET 2.0.




回答2:


You can try R.SAT




回答3:


I know SharpDevelop has a plug-in mechanism. Maybe you could check out their source code: http://www.icsharpcode.net/OpenSource/SD/




回答4:


I think the closest thing is the System.Addins namespace but that is a 3.5 feature. It doesn't require a different CLR than 2.0 but it does require the 3.5 framework be installed on the target machine.

http://www.codeplex.com/clraddins



来源:https://stackoverflow.com/questions/740438/something-like-mef-managed-extensibility-framework-for-net-framework-2-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!