Does MEF support "Reduce XAP size by using application library caching" feature?

Jun 2, 2011 at 2:12 AM
Edited Jun 2, 2011 at 2:12 AM


I'd like to turn library caching on for all MEF parts to reduce their size. That does not work. I am getting "can't load assembly" exceptions.

Please advise

Oct 30, 2011 at 6:15 PM


I have the same problemCan anyone with appropriate experience with MEF can answer about it ?

Oct 31, 2011 at 12:58 AM


No, I don't think MEF supports this feature. A suggested workaround is to set 'CopyLocal' to 'False' for assembly references that are duplicated between packages, and include these directly in the application's main XAP.

Hope this helps,