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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:51:29+00:00 2026-05-29T23:51:29+00:00

This might not be a Microsft.Practices specific question (probably not but not 100% sure)

  • 0

This might not be a Microsft.Practices specific question (probably not but not 100% sure) but it only seems to be happening with this (Enterprises Library and Unity).

Basically, we have customized versions of the EntLib (and uncustomized version of Unity) that we have in a binary references location. We also have some in-house shared binaries in the same location.

When I build via TFS all of the in-house libraries copy from the shared location but the EntLib and Unity dlls copy from the installed location on the server (instead of the shared location). I have verified that the EntLib dlls are in the correct shared location.

Any ideas as to why this is happening?

Update:

After looking further it appears that if a dll was not modified then it is pulling the GAC version, regardless of where the reference points. this means if I have hell.dll in the GAC and a reference to c:\hell.dll it will take the GAC version unless the c:\dll.hell has changed. Can anyone confirm this is the bahavior that I am seeing?

  • 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-29T23:51:32+00:00Added an answer on May 29, 2026 at 11:51 pm

    Your discovery about pulling from the GAC is correct. Standard .NET probing will ALWAYS pull something from the GAC if the StrongName matches (Name, Version, Public Key Token) regardless of where the reference points. I’d say that it’s a best practice to keep things you may be building or referencing during a build and want full control over out of the GAC on Dev/Build machines.

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

Sidebar

Related Questions

I know, this might be a very basic question but I am not 100%
Reading the documentation it seems this might not be possible, but it seems that
This question might not seem programming related at first, but let me explain. I'm
This might be iPhone specific, I'm not sure. The compiler doesn't complain when building
This might be a stupid question, but I was wondering whether or not you
I know this might seem a controversial question but it really is not meant
This might not be a programming question but I am posting it after long
this might be an easy question but for me right now it is not
This might not have a major usecase in projects, but I was just trying
This might be an easy one, but I'm not really experienced with sql. I

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.