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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:43:31+00:00 2026-05-23T11:43:31+00:00

Is there an established best practice for handling external dependencies in TFS working branches?

  • 0

Is there an established “best practice” for handling external dependencies in TFS working branches? What I mean is, we have a project in TFS that contains common third-party libraries (in this case I’m specifically dealing with log4net), which we branch into our other projects as needed. Now we’re making a significant change that I’m doing on a separate working branch, which requires a newer version of the component. It looks basically like this:

$/ThirdParty
  /bin
    /log4net

$/Product
  /Main
    /thirdparty
      /lognet      <-- $/ThirdParty/bin/log4net
  /Working1        <-- $/Product/Main
    /thirdparty
      /log4net     <-- $/Product/Main/lognet <-- $/ThirdParty/bin/log4net

Part of the work requires rebuilding log4net against the .NET 4 client profile and bringing in the new version. Normally, when we upgrade a third party component, it’s checked into $/Thirdparty in the appropriate folder, then the individual projects are free to merge the latest binary, or not, as they see fit.

As far as I have can determine, in order to get the latest changeset from $/ThirdParty/bin/log4net I need to merge that into $/Product/Main, check the merge into TFS, then merge that branch into $/Product/Working1. That’s exactly what I want to avoid, because I don’t want to disrupt the main branch.

So, I guess two questions:

  1. Is there a way to get this merge to work without having to check anything into the main branch?

  2. Is there a better overall strategy for handling these kind of dependencies while still keeping them in TFS? (I know TFS isn’t “meant” for binaries, but we like it because of the easy multiple-version and history tracking we get out of it).

  • 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-23T11:43:32+00:00Added an answer on May 23, 2026 at 11:43 am

    Answer to 1:
    Yes. You can do a baseless merge from ThirdParty to Working1. Here’s the MSDN page:
    http://msdn.microsoft.com/en-us/library/bb668976.aspx

    As for 2:
    If your Main project can use 2+ different versions of your 3rd party binary, then I recommend storing the separate versions of the 3rd party binary in the $/ThirdParty area and not having a direct link between files in the 3rd party area and the Main area.

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

Sidebar

Related Questions

.NET's ProviderBase was established in the 2.0 release of the .NET Framework. Have there
Just curious if there is an established best way to target child elements inside
I'm working on a Spring MVC project, and I have unit tests for all
For writing summary and parameter text, is there a best practice for how much
Is there an established algorithm for finding redundant edges in a graph? For example,
Templates are a pretty healthy business in established programming languages, but are there any
There is a conversion process that is needed when migrating Visual Studio 2005 web
I'm working on a process that will perform natural language processing (NLP) on one--and
So I have to design a class that works on a collection of paired
Does anyone know of any established best practices for running Windows services (in my

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.