Valut Integration with Visual Studio 2005

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Valut Integration with Visual Studio 2005

Post by btd » Mon Apr 30, 2007 1:31 pm

Is there a way to have automatic check outs?

For me when I edit a file, I sometimes get the check mark but most times I do not and I have to remember to go back to Visual Studio .net 2005 and manually check out the file.

I am using Vault 3.1.6 (SG 3158). When I installed Vault I chose to make Vault my default source repository. I also got the latest from within VSS 2005.

Thanks
Tom

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

Post by lbauer » Mon Apr 30, 2007 3:45 pm

There's an option in VS 2005 to checkout a file automatically if it's been modified.

This is under Tools->Options->Source Control->Evironment->Checked-In item behavior.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Vault Integration with Visual Studio 200

Post by btd » Tue May 01, 2007 8:42 am

Dear Linda:

I did that too but when I open a file (CS or aspx page) the check box does not show next to it in the Solution Explorer. So I'm not sure if I have the file checked out or not.

Tom

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

Post by lbauer » Wed May 02, 2007 7:55 am

Are you opening the file and modifying it, or just opening it?

It might be helpful to have specific steps so that we can reproduce what you are doing.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Vault Integration with Visual Studio 2005

Post by btd » Thu May 03, 2007 7:03 am

Linda:

In my Visual Studio 2005 project all I do is double clikc the file in the solution explorer and then start typing. Some times the check box shoing I have it checked out appears and more often than not, it does not. When I click Showing Pending Check Ins, my file does not appear.

Also, why when I click "Show Pending Checkins", Vault shows me Files/folders for Bin/Debug and OBj. I don't want these folders EVER to appear in Vault as they corrupt my nightly NAnt build. Is there a way to filter these files/folders from appearinf in "Show Pending CheckIns"?

Thanks

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu May 03, 2007 8:22 am

Could be a case of a delay going on? I had found sometimes it takes a minute to register that you are going to edit that file. Do you manage to go in and make edits and save without the check mark ever showing up?

Visual Studio will try to add the bin directory to source control no matter which source control product you use as far as I know.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu May 03, 2007 9:08 am

Is it possible the files were not saved by Visual Studio, thus causing Vault to do an Undo Checkout w/ Revert?

If you go to the Tools -> Options -> Source Control (SCC Provider) -> Advanced. Check the Files settings. On the Undo checkout option, choose "Leave" instead of "Revert".

This won't solve the problem, but if you have files which have your changes, and the repository does not, we would know it is related to Visual Studio not saving the file, saving the file in a different location or the Vault client does not see the file as modified.
Jeff Clausius
SourceGear

Post Reply