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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:06:53+00:00 2026-05-10T18:06:53+00:00

In our environment we have a Lib folder which contains various third party assemblies

  • 0

In our environment we have a Lib folder which contains various third party assemblies referenced by our projects. For example, Enterprise Libary and Elmah.

Sometimes a dev doesn’t do a get latest on that folder. When the dev then loads a project which can’t find the assembly in the expected folder, Visual Studio automatically locates another copy and updates the project references.

The problem occurs when the dev checks in the project and it screws everyone else up.

Is there a way to stop visual studio 2008 from doing this?

UPDATE: I wanted to add that we are using TFS for source control.

  • 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. 2026-05-10T18:06:54+00:00Added an answer on May 10, 2026 at 6:06 pm

    Here’s how we guard against that at my company. (Your mileage will vary!)

    Any non-system (or otherwise non-GAC) references come from our dev server, which every developer has mapped to their W: drive. We have a common DLL directory, with subdirectories by client (or vendor), and further subdirectories as appropriate. No DLLs are ever stored in source control, except license.dll as needed by Infragistics occasionally.

    For vendor-provided libraries (EntLib, Infragistics, etc.), as policy we reference from the W: drive. Period. No one is authorized to reference from anywhere else. This codes the Hint in the project files to a common path.

    For in-house libraries (client and internal projects), our continuous integration process outputs the DLLs into the appropriate branch of this directory — again, where all our references come from.

    This does slow down our local compile time (for local debugging), as VS will auto-refresh these against the server every time. It’s an annoyance (sometimes a project may take 5 or 6 minutes to build locally), but it’s a necessary evil to work around people using different references. The advantage here is that as soon as someone checks in code for one of those references, the CI server kicks off a build and everyone gets it pretty darned quickly.

    The trick to this is a stable, repeatable build process and a continuous integration server. We’re using CruiseControl.NET, integrated with NAnt builds, but insert your favorite CI server and build tool here.

    So far we’ve had zero issues as a result of this process, except when the build server kicks in while our source control system (also known as the Demon Spawn, see so many of my recent remarks) performs a large multi-file check-in. (As Demon Spawn doesn’t support transacted check-ins.) However, this is a very rare occurrence — perhaps once every 5 or 6 weeks. And a force rebuild immediately afterward takes care of it.

    Just some thoughts … This technique should keep people from screwing up your source control — and as an added bonus, reduce the size of your source control as you won’t be checking in DLLs, just dll.refresh files.

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

Sidebar

Ask A Question

Stats

  • Questions 97k
  • Answers 97k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I wrote a Macro for my own project as I… May 11, 2026 at 7:28 pm
  • Editorial Team
    Editorial Team added an answer IEnumerator<T> extends IDisposable, so you should have it in a… May 11, 2026 at 7:28 pm
  • Editorial Team
    Editorial Team added an answer This behaviour is covered in section 1.6 of the Expression… May 11, 2026 at 7:27 pm

Related Questions

We have a batch program that incorporates JavaMail 1.2 that sends emails. In our
I am working on an SWT project as part of a team. We are
Does anyone have any suggestions for a best practice or preferred way of rolling
Background In my current project - a server product with no GUI front-end, I'm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.