MEF and Silverlight plugin deployment (xap only? IsolatedStorage?)

Oct 12, 2011 at 8:12 PM

I am just starting to use MEF and it looks to me that it can only work with plugins packaged as xap files, but not individual dlls? I am concerned about the plugin size - there is really no reason to include core dlls in the plugin's xap file.

Also, I wonder if it makes sense to cache already downloaded plugins in isolated storage for faster startup? What is considered the best practice?

Relevant:

http://mef.codeplex.com/workitem/12328

Oct 24, 2011 at 10:40 PM

Hi - the solution to this is to turn off "Copy Local" for the assemblies that you want to exclude from the XAP. I've updated the issue accordingly.

Cheers,
Nick