HOWTO: Disconnect a Project from Source Control
ID: Q180945
|
The information in this article applies to:
-
Microsoft Visual SourceSafe, 32-bit, for Windows versions 5.0, 6.0
-
Microsoft Visual C++, 32-bit Editions, versions 4.0, 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
The following steps give instructions on how to manually disconnect a
Visual C++ project from source control. We recommend that you do this only
if you are experiencing extraordinary circumstances that you cannot work
around. One such instance may be that you receive the error message:
Only one Database Connection is Supported at a time.
To disconnect a Visual C++ 4.x project from source control:
- Close the workspace containing the project in Developer Studio.
- Delete the .mdp file for the workspace.
- Delete the Mssccprj.scc file in the same directory with the .mdp for the
workspace.
To disconnect a Visual C++ 5.0 project from source control:
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.
- If you have a workspace open containing the project in Developer Studio,
close the workspace.
- 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
- Save the workspace file.
- 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
- Save the project file.
- Delete the workspace options file (.opt).
- Delete the Visual SourceSafe data files, Mssccprj.scc and vssver.scc, if
they exist.
- Open the workspace containing the project in Developer Studio. The
project should no longer be under source control.
Additional query words:
Keywords : kbSSafe400 kbSSafe500 kbSSafe600
Version : WINDOWS:5.0,6.0; winnt:4.0,5.0
Platform : WINDOWS winnt
Issue type : kbhowto
|