Quantcast
Channel: Managed Extensibility Framework
Viewing all articles
Browse latest Browse all 265

New Post: Plugins with Common Dependencies?

$
0
0
Hi All,

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!

Scott

Viewing all articles
Browse latest Browse all 265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>