This project has moved. For the latest updates, please go here.

Global Container for MEF


I have a solution file with multiple projects. I have exported a class in a particular project and imported it in the other projects.

Is it necessary to use DirectoryCatalog or is there a way where I can satisfy all the imports without doing this such as a global container on which I can call SatisfyImportsOnce()?

The reason I am working towards this approach is because I do not know where to bootstrap the MEF code.