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:
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?
In my solution file I have 6 projects:
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.
What I think has happened, in the following order, is:
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
In my experience VS always required handholding with websites from localhost.
Here's what always worked for me:
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.