Microsoft KB Archive/166305

= How To Reconnecting a Visual C++ Project to Source Control =

Article ID: 166305

Article Last Modified on 7/1/2004

-

APPLIES TO


 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 4.0a
 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft Visual SourceSafe 6.0 Standard Edition
 * Microsoft Visual C++ 4.0 Standard Edition
 * Microsoft Visual C++ 4.0 Standard Edition
 * Microsoft Visual C++ 4.1 Subscription
 * Microsoft Visual C++ 4.2 Enterprise Edition
 * Microsoft Visual C++ 4.2 Enterprise Edition
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 4.2 Professional Edition
 * Microsoft Visual C++ 4.2 Professional Edition
 * Microsoft Visual C++ 5.0 Professional Edition

-



This article was previously published under Q166305



SUMMARY
From time to time, the connection between a Visual C++ project and its associated SourceSafe project is lost or damaged. In this case, you may find it necessary to reconnect the existing Visual C++ project to the SourceSafe project.



MORE INFORMATION
The reconnect the existing Visual C++ project to the SourceSafe project:

 Open the Visual C++ project on the local hard drive in Developer Studio. Add the Visual C++ project to source control.

In Visual C++ 4.x:

Tools.Source Control.Add to Source Control

In Visual C++ 5.0:

Project.Set Active Project and select the project Project.Source Control.Add to Source Control

 You are prompted to locate the project in SourceSafe. Highlight the SourceSafe project that corresponds to the project on your local drive and delete the project name from the Project field in the "Add to SourceSafe Project" dialog box. Click OK. A dialog box appears asking you whether to reconnect to the existing project. Click Yes.

