How To Reconnecting a Visual C++ Project to Source Control (166305)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 4.0
  • Microsoft Visual SourceSafe for Windows 4.0a
  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0
  • Microsoft Visual C++ 4.0
  • Microsoft Visual C++ 4.0a
  • Microsoft Visual C++ 4.1
  • Microsoft Visual C++, 32-bit Enterprise Edition 4.2
  • Microsoft Visual C++, 32-bit Enterprise Edition 4.2b
  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 4.2
  • Microsoft Visual C++, 32-bit Professional Edition 4.2b
  • Microsoft Visual C++, 32-bit Professional Edition 5.0

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:

  1. Open the Visual C++ project on the local hard drive in Developer Studio.
  2. 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

  3. 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.
  4. A dialog box appears asking you whether to reconnect to the existing project. Click Yes.

REFERENCES

For more information, please see the following article in the Microsoft Knowledge Base:

180945 How To Disconnect a Project from Source Control


Modification Type:MinorLast Reviewed:7/1/2004
Keywords:kbhowto kbinterop KB166305