I'm currently using MEF to load plugins for one of my applications. I want to move these plugins outside of the bin directory to a separate plugins directory so other applications can use the plugins. A problem that I'm running into is that one of the plugins is dependent on a custom xml serializing class in a separate dll and when I try to use the particular plugin, I get a "Could not load file or assembly" error when it tries to load the separate dll.

I had to add probing in order of my original application to work with this particular dll. All plugin dlls were originally located in a subdirectory inside the bin called "plugins". But now that I want to move the plugins into a common directory for all applications, I would I go about fixing this issue? Any assistance would be greatly appreciated.

That is strange, I'm using MEF as well; I can put dependencies in the plugins directory and it just works. What catalog are you using? I imagine you should in any case be able to use ILMerge to join the dll's
–
DirkMar 13 '12 at 20:33

post how you set your catalogs for your compositioncontainer please
–
blindmeisMar 16 '12 at 13:12