How to Remove Source Control

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
orozcoc
Posts: 2
Joined: Wed Feb 16, 2005 12:16 pm

How to Remove Source Control

Post by orozcoc » Sat Sep 03, 2005 11:56 am

How can I remove the source control (Vault) from my Visual Studio .NET solution?

Today when I tried to open the solution I got the error message:

You session is not valid anymore.

and after that the I can't open the application anymore with source control. and most of the files appear to be checked out or missing in Vault's repository. In Visual Studio some files appear checked out and some don't, when I try to check in one of those files, the program responds: "The file is not under source control"

What I'm going to try to do is to remove source control from the app and then create a new repository and add the application to the new repository.

I really appreciate any help.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Sat Sep 03, 2005 1:28 pm

How can I remove the source control (Vault) from my Visual Studio .NET solution?


Generally, you open your Visual Studio project and select File->Change Source Control, then unbind the project.

In this case, you can't even open the solution, so you may need to delete any source code control (.scc) files in your project and edit out any references to source control (bindings, etc) in project or solution files.


Then to add a project to source control, see these steps:

http://support.sourcegear.com/viewtopic.php?t=776

Did you import your projects into Vault from VSS? Then you might want to review this KB article:

http://support.sourcegear.com/viewtopic.php?t=3953
Linda Bauer
SourceGear
Technical Support Manager

orozcoc
Posts: 2
Joined: Wed Feb 16, 2005 12:16 pm

Post by orozcoc » Tue Sep 06, 2005 11:43 am

It is a total mess, now it is even worst, there is no way I can remove source control bindings, it is always showing that some files are checked out, even when I remove the binding from the source control window on VS.

Could you guys please help me ASAP?

Thanks a lot

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Sep 06, 2005 12:08 pm

Changing the bindings wouldn't change the checkout status. Binding info just gives Visual Studio info on the source control provider and the path to that provider.

You can use the Vault GUI Client to check in any changed files and to undo checkout for files that haven't been modified.
Linda Bauer
SourceGear
Technical Support Manager

Tonya
Posts: 916
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Post by Tonya » Tue Sep 06, 2005 12:30 pm

Since your bindings appear to be in some sort of weird state, my suggestion would be to remove the source code control bindings manually. I would reccomend doing a backup of your work first.

To do this, delete the two source code control files in your working folder that have the extension .vssscc and .vspscc. Next you will need to edit your .sln file and remove just the Globel Section (SourceCodeControl).

Thanks,

Tonya Nunn
SourceGear Support

Post Reply