Change Dll loaded with MEF
- by Tim
Hi all,
I'm using MEF and the System.ComponentModel.Composition.dll to load some dll.
I'm doing something like :
AggregateCatalog catalog = new AggregateCatalog(new AssemblyCatalog(Assembly.GetExecutingAssembly()), new DirectoryCatalog(directory));
_container = new CompositionContainer(catalog);
_container.ComposeParts(this);
to import my dll.…