So, I have been using MEF for a little while, I've written several plugins for an app already which work very well - they all use MVVM and the resources are all injected ok so far.
But... I have come across a problem, I have 3 plugins, P1, P2 and P3. Each one is using the Infragistics libraries to display data.
Unfortunately I am also using Click Once, so I have a Plugins Dir with the Dll's from my plugins linked, so that Click Once will deploy the Dll's. OK So far.
So, when I install on a machine that does not have the Infragistics Libraries installed it does not work. I cannot deploy the dependencies with each plugin (VS will not let me add multiple links to the same file, and also, there are going to be at least 10
plugins at the end, if each is using the same 10mb dependencies...)
So, I tried using the probing privatePaths to try and get a common dir that I can put common dependencies into, but I'm not having much luck.
Has anyone come across this problem before? if so, how should I overcome this problem?
Thanks for all advice!