Friday, March 13, 2009

I recently inherited a Project that was stored in Visual Source Safe, i made a copy of the Project to my local machine and tried to work on it, and when i open my main project from the VSS, i found that the changes reflected on themain project. That was a Dangerous thing to have. So i decided to find the way to remove the binding from my project. i did the Following

Solution:
1 - Go to the folder containing the solution files and delete the following: mssccprj.scc
MyProject.vssscc
vssver.scc

2 - Open MyProject.sln in your favorite text editor and remove the following section:
GlobalSection(SourceCodeControl) = preSolution ... EndGlobalSection
3 - Go to the folder containing the project files and delete the following: MyProject.vbproj.vspscc
mssccprj.scc
vssver.scc
4 - Open MyProject.vbproj in your text editor and remove the following lines:
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"

Now you can open the solution/project with no source control errors.

Thank you

No comments:

Post a Comment