TFS 2012 禁用多次签出不起作用 [英] TFS 2012 Disable Multiple Check-out not working
本文介绍了TFS 2012 禁用多次签出不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为我们的 TFS 项目禁用多次签出.这是我期望它的工作方式:
I would like to disable multiple check-outs for our TFS projects. Here is how I expect it to work:
- Bob 检查 File1.cs.
- Joe 在他的 Visual Studio 解决方案资源管理器中双击 File1.cs 并尝试修改它,但看到一条错误消息,指出有人已签出该文件,因此他无法签出.
我已经尝试在 Visual Studio 中为 Bob 和 Joe 设置如下:
I've tried setting it up like this in Visual Studio for both Bob and Joe:
- 在团队->团队项目集合设置->源代码管理...->工作区设置选项卡中,我将默认工作区类型从本地(推荐)"更改为服务器".立>
- 在团队->团队项目设置->源代码管理...->签出设置选项卡中,我将启用多次签出更改为未选中.
- 在 Source Control Explorer->Workspace Combobox->Workspaces...->Edit...->Advanced->Location 中,我将本地"更改为服务器".
- Within Team->Team Project Collection Settings->Source Control...->Workspace Settings Tab I changed the default workspace type from "Local (recommended)" to "Server".
- Within Team->Team Project Settings->Source Control...->Check-out Settings Tab I changed Enable multiple check-out to be unchecked.
- Within Source Control Explorer->Workspace Combobox->Workspaces...->Edit...->Advanced->Location I changed "Local" to "Server".
不过,Bob 和 Joe 仍然可以同时签出同一个文件.还有其他一些配置选项需要设置吗?
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?
推荐答案
问题(正如 Edward Thomson 指出的)是步骤 3 并未在所有用户的工作区上执行.
The issue (as pointed out by Edward Thomson) was that step 3 had not been performed on all of the users' workspaces.
这篇关于TFS 2012 禁用多次签出不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文