If this is not done, changes apparently made to the branched version of the project will be checked in to the trunk version. This behavior is controlled either by the Microsoft integration API or by Visual Studio .NET itself and cannot be changed by the Vault IDE.
For example, if the following web project is branched in the Vault client:
Code: Select all
$/
Folder/
WebApplication1/
WebApplication/
Code: Select all
$/
Folder-Branch/
WebApplication1/
WebApplication/
The first user to open the "Folder-Branch" version from source control would have to unbind and rebind as follows:
- Go to File > Source Control > Change Source Control
- Select Solution: WebApplication1.sln and click Unbind
- Select WebApplication1 and click Unbind
- Select Solution: WebApplication1.sln and click Bind
- Browse in the tree to $/Folder-Branch/WebApplication1, set a working folder and click OK
- Select WebApplication1 and click Bind
- Browse in the tree to $/Folder-Branch/WebApplication1/WebApplication, set a working folder and click OK
- Click OK to close the Change Source Control dialog box
- In the Solution Explorer Window, right click on the WebApplication1 solution and select Save WebApplication1.sln
- Now, Check In the WebApplication1.sln file
Update: These steps do not work for VS.NET 2003 and Vault 3.5.1. There is a bug which causes a problem binding the branch. This will be fixed in Vault 3.5.2
These steps DO work for VS 2005 and later.