Populate catalogue with .xap from sandbox.

Mar 15, 2010 at 2:48 PM

Hi all,

i have this scenario:

when i go OOB i save my other .xap modules in sandbox of app,to have less traffic when starting shell.

And now my question is how to refert to those modules?

 

The following works just for modules downloaded from external resource

moduleinfo theme = new moduleinfo();
theme.modulename = "moduleA";
theme.moduletype = "moduleA.moduleA, accountsmodule, version=1.0.0.0, culture=neutral, publickeytoken=null";
theme.ref = "moduleA.xap";
catalog.addmodule(theme);
Or should i rather try with loading assembly to AppDomain?