VS 2005 Integration - Automatic Check-out

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
grandavenuesoftware
Posts: 21
Joined: Wed Feb 14, 2007 2:50 pm

VS 2005 Integration - Automatic Check-out

Post by grandavenuesoftware » Tue May 01, 2007 9:51 am

The automatic check-out feature in VS2005 doesn't seem to be working consistently for us. We've tried various combinations of the "Tools->Options->Source Control->Environment->Checked-in item behavior" settings, but we still regularly see cases where we start editing a file and it doesn't get checked-out.

Are there any known issues with this?

Our current configuration is:
- VS 2005, Service Pack 1
- SourceGear 3.5.2 (Build 5087)
- Windows XP x64 (Running both server and client)

Thanks,

Jim Ivey
Grand Avenue Software

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

Post by Beth » Tue May 01, 2007 10:22 am

Can you check on the files in those cases and see if the read-only flag is set?

Visual Studio needs to send a command to Vault to check out the file, but it will only do that if it sees the read-only flag on the file. If people are opening the file straight from disk rather than opening VS first, or changing the flag, or setting some other setting that makes the file not read-only, then VS won't send the command for a check-out.

grandavenuesoftware
Posts: 21
Joined: Wed Feb 14, 2007 2:50 pm

Post by grandavenuesoftware » Tue May 01, 2007 10:44 am

Beth,

Thanks, that was the problem. We were in the middle of transitioning to SG 3.5.2 and VS 2005, and when we had originally retrieved the solution from SourceGear, we hadn't yet set the "make files read-only" option in our new environment.

Jim Ivey
Grand Avenue Software

Locked