Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disconnect VSS from VS.NET projects/solutions

Status
Not open for further replies.

jdharley

Programmer
Nov 14, 2003
3
US
Anyone know how I can disassociate a solution and project from VSS without doing anything to VSS?

(In other words, which files to lose and which .sln and .proj file entries to delete)

TIA - Jonathan
 
From Visual Studio select File | Source Control | Change Source Control. This dialog allows you to unbind your solution and projects from source control.

- Rich Knox [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thanks for that, but..

I meant without involving VS.NET. That is, editing the .sln and/or .csproj files and/or others.

As an example, I've taken a solution I want to use as a sandbox project -- based on an existing VSS project -- saved it to a non-Working Directory and deleted all the *.*scc files. I then edited the .sln removing the GlobalSection that referred to source control, and I scanned each of the .csproj files involved, looking for any reference to source control -- didn't find any.

When I open the .sln, I still get "This solution appears to be under source control, yet..."

Make it stop! ;-)

Thanks again - Jonathan
 
Editting the .sln and .csproj is discouraged and not supported. Just copy the solution to the non-working directory and open it in VS. Then use Change Source Control to remove the source control association. After this it won't complain about source control.

- Rich Knox [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top