How do I remove an ASP.Net Solution from a non-existent SourceSafe binding?

E

ElGordo

I was recently given .Net project files to work on. When I open the
Solution file in VS.Net, I always get the message:

"The solution appears to be under source control, but its binding
information cannot be found. It is possible that the MSSCCPRJ.SCC file or
another item that holds the source control settings for the solution, has
been deleted. Because it is not possible to recover this missing information
automatically, the projects whose bindings are missing will be treated as
not under source control."

I don't even have Source Safe, and the developer who was working on this
application before me is no longer reachable.

How can I remove this solution from a non-existent source safe instance?
 
E

ElGordo

Found It: For all who want to know:

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.
 
E

Ersin Gençtürk

there is an easier way to do it :

just go to file > source control > change source control > select your
project and click unbind button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top