Home > Software Development > How to remove the SourceSafe binding from a Visual Studio solution

How to remove the SourceSafe binding from a Visual Studio solution

10:52:45 May 7th, 2009 Leave a comment Go to comments

When a solution or project in Visual Studio is bound to the Visual SoucrSafe version control, sometimes we want to break the VSS dependency from the solution, especially when the solution is copied or moved. There are two methods to do this:

1. Go to menu: File->Souce Control->Change Source Control. In the prompted box, choose the “unbind” button, then the VSS binding can be removed.

2. The manual method:

Go to the project/solution directory, delete all the VSS bingding files (those with extension .scc, .vssscc, .vspscc). Note that the vssver2.scc files are usually hidden. You may use the windows search to find these files and delete at one time.

Select all files in the solution and remove the “read only” properties.

Open the project files (.vcproj for VC++ projects, .vsproj for C# projects, .vbproj for VB projects…) with a TEXT EDITOR, and remove the lines like:

SccProjectName="SAK"
SccAuxPath="SAK"
SccLocalPath="SAK"
SccProvider="SAK"

If there are many project in the solution, you may use an editor with “find in files” function such as UltraEdit.

  1. No comments yet.
  1. No trackbacks yet.
Please leave these two fields as-is: