Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7833581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:46:58+00:00 2026-06-02T12:46:58+00:00

In the past I’ve used the solution outlined in the following URL to avoid

  • 0

In the past I’ve used the solution outlined in the following URL to avoid multiple downloads of 3rd party dlls in modular Silverlight applications:

How to optimize the size of silverlight XAP file by removing common files?

However I am working on a Visual Studio 2010/Silverlight 5 solution application where this is not working.

I have a PRISM module let’s call it Parent1.csproj that has no references to my 3rdParty dlls but it does have a reference to two other project files which reference the 3rdParty dlls child1.csproj and child2.csproj

child1.csproj and child2.csproj both have “Copy Local” set to false for 3rdParty.dlls but in spite of this the .xap file for Parent1.csproj contains the 3rd party dlls.

If I set child1.csproj and child2.csproj references in the Parent1.csproj file with “Copy Local” set to false then I get a dramatically reduced xap file with no 3rd party dlls but also none of the other code in the child projects that I actually need to be able to run.

It seems as if included project files get their “Copy Local” setting ignored and use the parent “Copy Local” setting instead, and there’s no way for me to exclude those 3rdParty.dlls

Have I missed something subtle here? Is there some other way I can avoid downloading those 3rdParty.dlls in multiple modules when the shell application has already downloaded them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T12:47:04+00:00Added an answer on June 2, 2026 at 12:47 pm

    I’m not 100% sure why this problem occurs, but it is related to Prism. The way we’ve solved it is add references to all the startup project and each of the sub projects even though they’re not directly referenced but that project.

    1. Make sure that the “Reduce XAP size by using application library caching” is enabled for all your projects.

    2. Make sure that Parent1.csproj has references to all your 3rd party dlls.

    3. Add these same references to child1.csproj and child2.csproj.

    4. Double check you have extmap files for all your 3rd party dlls. If these are missing the dlls will be loaded into the XAP files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the past I have used ThreadPool.QueueUserWorkItem to spawn multiple threads from a manager
In the past I have used MAPISendMail to launch Outlook (or whatever the desired
In the past, I've used the runas commandline to launch another instance if IE
In the past, I used swiftsuspenders that is an actionscript 3 IoC controller. Basically
In the past, I've used decode in Oracle, and iif in Microsoft, in the
in past I have used fbml rendering but now there is to many update
In the past I've used precompiled headers in VC to speed up compile times
For the past few years, if I've wanted a URL of a page on
In the past I've used svn and cvs, but never BitBucket or Git. I
In the past I've used RailsForum.com as a resource, but lately I've come across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.