Suppose that the TFS branch was created from some main branch that had 2 projects (FirstNewProject), but while work continued in this branch, another branch (SecondNewProject) was created, the task was completed and that the other branch was merged back.
If we try to merge this first branch back into the main branch from which both of these branches were forked, we now have a conflict in the solution file, which, apparently, can only be resolved manually ...
The first conflict with the variable SccNumberOfProjects = 3 TFS, which is the same in the FirstNewProject and SecondNewProject decision files, but needs to be changed to SccNumberOfProjects = 4 , because when SecondNewProject was merged back, the number of projects was 3, but now that we "Merge FirstNewProject quantity 4 projects now.
Would you change this variable manually to 4, creating an invalid solution file?
The second conflict is in the Global section, and it is associated with the numbering of projects.
SecondNewProject added these lines to the solution file:
SccProjectUniqueName3 = SecondNewProject\\SecondNewProject.csproj SccProjectName3 = SecondNewProject SccLocalPath3 = SecondNewProject
FirstNewProject added these lines to the solution file:
SccProjectUniqueName3 = FirstNewProject\\FirstNewProject.csproj SccProjectName3 = FirstNewProject SccLocalPath3 = FirstNewProject
But FirstNewProject is now the 4th project, so we need to change these entries to
SccProjectUniqueName4 = FirstNewProject\\FirstNewProject.csproj SccProjectName4 = FirstNewProject SccLocalPath4 = FirstNewProject
manually, and this will invalidate the solution file, and is there anything else if you go in a situation like this?