This project has moved and is read-only. For the latest updates, please go here.

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

Jun 2, 2011 at 3:12 AM
Edited Jun 2, 2011 at 3: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 7:15 PM


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

Oct 31, 2011 at 1: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,