To enable assembly cache in silverlight

Topics: Questions
Jan 31, 2013 at 12:16 PM
Edited Jan 31, 2013 at 12:20 PM
Hi, the the dll is a little big in silverlight. And i set true for the assembly cache. Can you add a publicKey and a Catel.Core.extmap.xml for Catel.Core.dll ? (Through NuGet)

Here is what i saw to decrease the size of xap file:
  1. Add xxxx.snk to the project.
  2. Signature and get the strong name. Run:
    sn -p H:\Jerry\Person\Demo\SLApplicationModel\xxxx.snk xxxx.bin
    sn -t xxxx.bin
  3. create a xml file named "xxxx.extmap.xml":
    <?xml version="1.0"?>
    <manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <assembly>
    <name>xxxx</name>
    <version>1.0.0.0</version>
    <publickeytoken>6f2ff986d4bcb927</publickeytoken>
    <relpath>xxxx.dll</relpath>
    <extension downloadUri="xxxx.zip" />
    </assembly>
    </manifest>
  4. Same to Catel.Mvvm.dll.
    thank you very much!
Coordinator
Feb 3, 2013 at 2:16 PM
This only works when the assemblies are strong signed?