Common references between modules

Topics: Prism v2 - Silverlight 2
May 29, 2009 at 11:06 AM


I'm working on Silverlight 2.

I have 2 modules A & B, which have common assembly references (like: System.Windows.Controls.Toolkit).

My shell haven't got reference to it.

How could I load modules without downloading 2 times the same reference in xaps ?

or how could I set ModuleReference to download, if needed, the losing assembly which is on the web server ?


May 29, 2009 at 8:56 PM



The common approach in this scenario is adding those assemblies in the Shell project, and setting the CopyLocal property in each reference to the assemblies in the modules to false.

You can read more about that approach here:

·         How to: Prepare a Module for Remote Downloading

·         Deploying Silverlight Applications


Please let me know if this helps.


Damian Schenkelman