Silverlight reduces the size of the XAP

Source: Internet
Author: User
Tags silverlight

When a Silverlight project references a number of DLLs, the load is slow, and the size of the XAP package can be reduced in the following way

Tick "Reduce the XAP size by using the application library cache", after which the VS automatically packs the Microsoft itself and the external references unchanged DLLs into a zip compression format,

But this will also produce a lot of such zip compressed files, we can compress such zip files corresponding to the DLL in a zip compressed file, and then renamed.

Open the XAP package in the bin directory with WinRAR to view the AppManifest.xaml file

Extract the AppManifest.xaml file and leave only one line below the <Deployment.ExternalPart> node.

Replace the name in source with the modified ZIP file name (for example, Newfile.zip).

Silverlight reduces the size of the XAP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.