Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2012 Disable Multiple Check-out not working [closed]

I would like to disable multiple check-outs for our TFS projects. Here is how I expect it to work:

  1. Bob checks out File1.cs.
  2. Joe double-clicks on File1.cs in his Visual Studio Solution Explorer and tries to modify it buts sees an error message saying that someone already has that file checked-out so he cannot check it out.

I've tried setting it up like this in Visual Studio for both Bob and Joe:

  1. Within Team->Team Project Collection Settings->Source Control...->Workspace Settings Tab I changed the default workspace type from "Local (recommended)" to "Server".
  2. Within Team->Team Project Settings->Source Control...->Check-out Settings Tab I changed Enable multiple check-out to be unchecked.
  3. Within Source Control Explorer->Workspace Combobox->Workspaces...->Edit...->Advanced->Location I changed "Local" to "Server".

Still, however, Bob and Joe can both check-out the same file at the same time. Is there some other configurations options that need to be set?

like image 677
Coder6841 Avatar asked Oct 22 '12 15:10

Coder6841


People also ask

How do I disable multiple checkout in TFS?

Within Team->Team Project Settings->Source Control... ->Check-out Settings Tab I changed Enable multiple check-out to be unchecked.


1 Answers

The issue (as pointed out by Edward Thomson) was that step 3 had not been performed on all of the users' workspaces.

like image 53
Coder6841 Avatar answered Oct 12 '22 17:10

Coder6841