csproj checkout

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

Moderator: SourceGear

Post Reply
TopNode
Posts: 3
Joined: Tue May 06, 2008 7:21 am
Location: Cape Town

csproj checkout

Post by TopNode » Tue May 06, 2008 7:26 am

Hi,

Problem I am having is that when Debugging a Web Project it checks out the csproj file exclusively. Though on another machine it doesn't do it. Same VS2008 and same Client 4.1.1 but that machine got XP on where mine is Vista, dunno if that influences anything.

Any help would be appreciated.

Pedre

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

Post by Beth » Tue May 06, 2008 9:41 am

Though on another machine it doesn't do it.
Are you saying that the other machine doesn't check out the .csproj at all or just doesn't check it out exclusively? If it's the latter, then there's a setting for "Always Request Exclusive Locks" in Vault Tools - Options that you can uncheck.

TopNode
Posts: 3
Joined: Tue May 06, 2008 7:21 am
Location: Cape Town

Post by TopNode » Tue May 06, 2008 11:41 am

Thanks Beth for taking the time to reply. I do not know whether the other machine checks out the file when compiling the application but it if it does check it out then it doesnt do it exclusively. My Server is set to default to not check out exclusively that is why i am a bit confused.

Edit:
The Client is also set not to exclusive lock files.

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

Post by Beth » Tue May 06, 2008 12:31 pm

Silly me.... .csproj I think is only supposed to check out exclusively, because it's not a mergeable file. The mergeable file list is set at the admin level. So there's something else that is going on with the other machine. It can't be checking it out at all.

In your client, under Tools - Options - Local Files under the Make Writable entry, what do you have set? Do you know what the other client has set? If it's writable, and you don't have VS set to auto check out on edit, then it can be set up to not check out at all.

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

Post by lbauer » Tue May 06, 2008 12:31 pm

Is .csproj listed as a mergeable file for the repository? This setting is in the Admin Web Client under Source Control Repositories->(Repository name)->File Types->Mergeable files.

If the extension is not listed there, the file will be checked out exclusively, as it is treated as a binary file.
Linda Bauer
SourceGear
Technical Support Manager

TopNode
Posts: 3
Joined: Tue May 06, 2008 7:21 am
Location: Cape Town

Post by TopNode » Tue May 06, 2008 12:59 pm

Beth - I checked my machine and it was set to Read Only. Other machine I will check in the morning as it is 9 at night here. What should it be?

Linda - Checked the server remotely and csproj was not listed in there, added it, now it is working fine :)

Thanks for the advice, really appreciate it.

Pedre

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

Post by lbauer » Wed May 07, 2008 11:03 am

Read-only is OK if you are using VSS mode.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply