问题
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