Microsoft KB Archive/249185

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


How To Branch a Visual InterDev Project Under Source Control

Article ID: 249185

Article Last Modified on 6/29/2004



APPLIES TO

  • Microsoft Visual InterDev 6.0 Standard Edition
  • Microsoft Visual SourceSafe 6.0 Standard Edition



This article was previously published under Q249185

SUMMARY

Advanced Microsoft Visual SourceSafe functionality such as branching is not directly supported from within Visual InterDev. This is because of the unique three-tier architecture that is required to support source control through InterDev on a Web server that is potentially beyond firewalls and out on the Internet.

Branching is an advanced Visual SourceSafe feature that can be achieved on InterDev projects. To do this, you must have direct access to the Visual SourceSafe database through the Visual SourceSafe Explorer.

MORE INFORMATION

Open the Visual SourceSafe database in the Visual SourceSafe Explorer and branch the project. To do this, select the target folder for the branch and click Share on the SourceSafe menu. In the dialog box that appears, click the project you want to branch, select Branch after share, and click Share. The highlighted project file will be duplicated to the target folder.

For example, if you have two Visual SourceSafe projects, $/Office and $/Excel, and you want to branch the $/Excel project so that it appears in Visual SourceSafe as $/Office/Excel, then you would select the Office folder and bring up the Share dialog box. Next, select the Excel folder, select Branch after share, and click Share. After ensuring that the name is appropriate, click OK. Note that if you want to include all subfolders in your branch, you would select Recursive.

This can also be accomplished by clicking on the source folder, holding down the right mouse button, and dragging to the target folder. Select Share and Branch on the context menu that appears.

In Visual InterDev, if your project was originally under Visual SourceSafe control and was connected to the prebranched project (such as $/Excel) and you want the Visual InterDev project to now check files in and out of the newly branched project ($/Office/Excel), do the following: Point to Source Control on the Project menu and click Change Connection. Also click Change Connection on the dialog box that opens. Type the appropriate Visual SourceSafe project path (in this case, $/Office/Excel) and click OK.

Keywords: kbhowto KB249185