HOWTO: Reconnecting a Visual C++ Project to Source Control

ID: Q166305


The information in this article applies to:
  • Microsoft Visual SourceSafe, 32-bit, for Windows versions 4.0, 4.0a, 5.0, 6.0
  • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.0a, 4.1, 4.2, 4.2b, 5.0


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:

Q180945 HOWTO: Disconnect a Project from Source Control

Additional query words:

Keywords : kbinterop kbSSafe kbSSafe400 kbSSafe500 kbSSafe600 kbVC kbVC400 kbVC410 kbVC420 kbVC500
Version :
Platform :
Issue type : kbhowto


Last Reviewed: January 9, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.