본문 바로가기

개발/ASP.NET MVC3

TFS 2012 다중 체크 아웃 문제

다중 체크아웃 문제

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 changedEnable 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?


해결 법

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

'개발 > ASP.NET MVC3' 카테고리의 다른 글

[MVC3] null 입력 허용하기  (0) 2013.01.28
Edit 액션에서 이미지 추가하기  (0) 2012.04.16
Visual Studio 2010 단축키 포스터  (0) 2012.04.03