Hi everyone, in the early years of .NET platform Visual SourceSafe rules, concerning with ensure the code and version management. Now we have Team Foundation Server and the things are so much better in some aspects, on the other hand no, nothing and nobody is perfect.
Today I have a little problem, remove the SourceSafe bindings, and really I can’t remember how to do it, so after a little while here is the solution.
Some of you maybe told me that SourceSafe is no longer the best solution in our days, but believe me…SourceSafe really does the job…Here is the workaround the source code consists of a solution (MySolution) containing a single project or projects (MyProject).
You attempt to open the solution and find that it has SourceSafe dependencies. You need to remove all the VSS stuff from the solution/project files, follow these steps:
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.
Hope it helps for the fans of source safe…jejeje :P

No comments:
Post a Comment