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

  • Home
  • SEARCH
  • 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 7526709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:54:26+00:00 2026-05-30T03:54:26+00:00

I have decided to branch my TFS solution into 4 branches. I originally had

  • 0

I have decided to branch my TFS solution into 4 branches. I originally had one VS solution that was under source control, called ‘Development’. As the product grew I decided to create 3 branches for the three clients that use it. So I have:

  1. Development
  2. Development-Client1
  3. Development-Client2
  4. Development-Client3

I had a new change request for ‘Development-Client2’ and wrote the code and made the changes. When I checked the source files in I noticed that ‘Development’ is also taking these new changes into account.

What I expected to happen, when I branched ‘Development’, was that I would have 4 versions of the solution and I could merge changesets between them.

From my current set up, it appears that any changes I make in #2, #3 or #4 will be automatically added into #1.

Since the branching occurred recently I feel I am in a position to sort it out now. Does anyone know what I need to to to get 4 independent branches?

UPDATE

In my solution file I have 6 projects:

  1. ASP.NET Web Site (running against localhost).
  2. Console Application
  3. Class Library (Business Logic)
  4. Class Library (Data Access)
  5. Class Library (Entities)
  6. Class Library (Common Methods)

I have noticed that for my new features in ‘Development-Client2’ that the changes in projects 2-6 have not been added to the ‘Development’ branch or the ‘Development-Client1’ or ‘Development-Client3’ branches.

However, any changes I made to the ‘ASP.NET Web Site (running against localhost)’ in the ‘Development-Client2’ have been replicated into all branches.

UPDATE 2

What I think has happened, in the following order, is:

  1. I had a solution called Development under source control (TFS)
  2. I created a branch called Development-NewFeatureX
  3. I branched Development-NewFeatureX 3 times, I was left with Development, Development-NewFeatureX, Development-Client1, Development-Client2, Development-Client3
  4. I deleted the Development-NewFeatureX branch.
  5. I made loads of changes to projects 1, 3, 4 and 5 under the Development-Client2 branch.
  6. At this point, I realised that project 1’s changes had been replicated across the other branches.

I have also noticed that in the Source Explorer part of TFS that the each of the branches’ solution file is pointing at ‘Development-NewFeatureX’ for the project [ASP.NET Web Site (running against localhost)].

I have tried to check out the solution file and modify the path from:

..Development-NewFeatureX/ASPNETSITE

to:

..Development-ClientX/ASPNETSITE

However this is just not working and source control seems to be overwriting the solution file.

I think it is at the point that I concede defeat and try to start a new solution.

If any TFS gurus have any idea what I’m talking about please give me some advice

SUMMARY OF PROBLEM

  • I have 4 branches.
  • Any time I open the solution file of any of the branches the project: “ASP.NET Web Site (running against localhost)” it is not different. i.e. it’s the same one. So if I make a change on this project in any branch it is across all of them.
  • The mapped folder of this problematic project is the branch that I deleted previously.
  • The structure of TFS seems correct with the branches/projects. It is only when I open the solution file that the ASP.NET site is always the same one.
  • Please see screenshot.

enter image description here

  • 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-30T03:54:27+00:00Added an answer on May 30, 2026 at 3:54 am

    In my experience VS always required handholding with websites from localhost.

    Here’s what always worked for me:

    • Create web projects only like this: File -> New Project -> Web
    • Always Specify the location of the project, i.e. w:\project\code\AppWebLocation
    • Then you can in Project Properties -> Web -> Servers
      • use localhost/virtualDir – it will do the mapping for you
      • use VS Development Server – I hate it :-\
      • use IIS Express – localhost is better option I think.

    I think what happened it your case: you have used File -> New Web Site project, it placed the project into solution file and then you connected that Web Site into your Client solution as it was in the same location. Since then TFS was picking his files from the same place for all clients. which is pita.

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

Sidebar

Related Questions

Originally, I had everything contained in my master branch. Then, I decided to split
I have decided that all my WPF pages need to register a routed event.
I have decided that I really need to get some flowcharts for reverse engineering
Now that I have decided upon Firebird , with the help of StackOverflow :),
I have a class that has an inner struct/class (I have decided which yet,
I have some useful typedefs on a header file called utypes.h. I have decided
I had a boss, past-tense, who decided to put svn branches in the same
I have been reading a lot about test-driven development and decided that I want
I have created a git repo in a folder that had spaces and some
My team recently decided not to use the trunk branch that is typical of

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.