Quick Browse silverlight3 Beta: Packaging download files (shared assemblies)

Source: Internet
Author: User
Tags silverlight

Translation: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/03/18/ A-quick-look-at-silverlight-3-packaging-assemblies-for-download.aspx

In Silverlight2, if you use a subordinate (additional) assembly (such as System.Xml.Linq.dll), you need to add a reference to it in vs. Finally, include the following in the generated XAP file:

This way, each time the user downloads the application, they also download the System.Xml.Linq.dll file. If you want to download other Silverlight applications (also using System.Xml.Linq.dll), these applications cannot benefit (share) from them.

As a matter of fact, this problem has been created in my application.

Note: System.Xml.Linq.dll is just one example, and a lot of assemblies are used in Silverlight applications.

In Silverlight3, you can download some assemblies files through Microsoft, with the benefit of:

If your installation path is the same as mine:

C:\Program Files\Microsoft Sdks\silverlight\v3.0\libraries\client

and search for *.xml files, you will find a number of files called ". Extmap.xml". As an example:

"System.Xml.Linq.extmap.xml "

If you install SILVERLIGHT3 Beta tools, you will see a new option in the Project properties page in vs.

As follows:

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.