I’ve a strange problem in my app. I’m using MEF to load Exports from some Dll’s. Which works on my computer and on the most others too. But on some machines the composing won’t work… MEF starts the composing but it never ends and MEF doesn’t throw an exception.
My code:
var catalog = new AggregateCatalog(new DirectoryCatalog( "Plugins" ), new
AssemblyCatalog(Assembly.GetExecutingAssembly()));
var container = new CompositionContainer(catalog);
container.ComposeParts(this);//problem right here <-