We were having problem with reducing XAP size. Basically third party were not getting picked automatically with the “Application Library Caching” in silverlight.
So searched a little we found out that based on following articals, we needed to have “.extmap.xml” for each assembly that we used in Silverlight.
For Instance InfragisticsSL4.Controls.Editors.v10.3.extmap.xml, now this file contains following mapping xml for that assembly.
<manifest xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema“>
<extension downloadUri=”InfragisticsSL4.Controls.Editors.v10.3.zip” />
- version, publickeytoken should be same as per assembly.
- The ExtMap XML files need to be at the Location from where you added refrence to silverlight project. (like some seperate folder for assemblies)
- You can download EMM tool fromhttp://blogs.microsoft.co.il/blogs/alex_golesh/archive/2009/07/16/small-utility-extmap-maker.aspx and make your life easy.