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 5979047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:36:15+00:00 2026-05-22T21:36:15+00:00

I have a common silverlight project. This project project, among other things, includes constants

  • 0

I have a common silverlight project. This project project, among other things, includes constants and static classes.

The silverlight App i have references this common library.
In addition, i have a handful of external modules that are loaded on-demand (via Prism). Each module is its own .Xap file and they too reference the common library.

So now each Xap in my silverlight application has a reference to the Common.dll.
Does this mean the common.dll is loaded every time a xap is loaded, or does it essentially mean only the main App’s common.dll is ever loaded?

The ultimate question im getting at is this:
If i make a code change (bug fix) in the common.dll, do i have to release ALL Xap files or just the main App xap?

Thanks.

  • 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-05-22T21:36:16+00:00Added an answer on May 22, 2026 at 9:36 pm

    By default DLLs are loaded on demand. This means that you can’t really guarantee which directory they will load from. This is a common issue among modular applications and one that there isn’t a ready prescription for. It depends on requirements, essentially.

    Some things you can do:

    1. GAC the Common.dll in the target environment. This will allow you to control the versioning of that DLL centrally.
    2. Release everything every time Common.dll changes (as you mentioned).

    We have opted for number 2 (we treat our “Common.dll” as a contract assembly that changes rarely) in order to keep our xcopy deployments intact.

    Number 1 might make more sense if you anticipate that code churn on Common.dll will be high or you want to keep your deployment schedules for modules completely autonomous (like if the modules were being developed and deployed by seperate teams with seperate build and source respositories, for example).

    Edit: It looks like Silverlight has something to provide an xcopy variant of the GAC approach. ChrisF’s answer is probably the way I would go with Silverlight (we do WPF, so that’s a bit different). I’ll leave this here for posterity.

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

Sidebar

Related Questions

I have created a Silverlight class library which holds a lot of the common
I have a common library where I've put classes that are used between multiple
I have a project where there are multiple applications that have some common configuration
I would love to be able to have a common set of Classes in
I have two versions of a project. One for Silverlight and one for .NET.
I have a WPF app. I need to embed a Silverlight app inside it.
I have a Silverlight 4 app that is allowing the user to upload a
I have something like this in my Silverlight application: <navigation:Page x:Class=PPCa.Modules.ProjectManager.Client.Views.ProjectDetailView xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:d=http://schemas.microsoft.com/expression/blend/2008
I am just learning Blend/Silverlight/VS2010/.net/etc. I have a simple project that resides on a
I have a Silverlight application that I need to embed some less-than-common fonts in.

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.