HOWTO: Disconnect a Project from Source Control

Last reviewed: February 12, 1998
Article ID: Q180945
The information in this article applies to:
  • Microsoft Visual SourceSafe, 32-bit, for Windows, version 5.0
  • Microsoft Visual C++, 32-bit Editions, version 5.0

SUMMARY

This article describes how to disconnect a Visual C++ project from source control without removing the project from the source control database.

MORE INFORMATION

WARNING: Editing the project (.dsp) and workspace (.dsw) files could render these files unreadable by Developer Studio. Edit these files only in the way prescribed in this article. Always make a backup of these files before editing them.

  1. If you have a workspace open containing the project in Developer Studio, close the workspace.

  2. Open the workspace file (.dsw) in a text editor. Remove the following lines and everything in between them:

          begin source code control
          end source code control
    

  3. Save the workspace file.

  4. Open the project file (.dsp) in a text editor. Remove the two lines that begin with the text below:

          # PROP Scc_ProjName
          # PROP Scc_LocalPath
    

  5. Save the project file.

  6. Delete the workspace options file (.opt).

  7. Delete the SourceSafe data file, Mssccprj.scc, if it exists.

  8. Open the workspace containing the project in Developer Studio. The project should no longer be under source control.

Keywords          : ssvc
Version           : WINDOWS:5.0; WINNT:5.0
Platform          : WINDOWS winnt
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 12, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.