VS 2015上的TFS 2015:如何设置单个源文件阻止/提取规则? [英] TFS 2015 on VS 2015 : How to set individual source file block / extraction rule ?

查看:185
本文介绍了VS 2015上的TFS 2015:如何设置单个源文件阻止/提取规则?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

在我的开发团队中,我需要设置TFS,以便只允许一个程序员提取和编辑源文件。

In my developers team I need to set up TFS in order to allow just ONE programmer to extract and edit a source file.

为了更清楚,我的需求就是让TFS像旧的Visual Source Safe一样工作

如果程序员提取了一个免费的源文件,他可以编辑它,所以其他人都可以阅读上次保存的版本,但没有一个可以提取它。
因此源控件在用户提取尝试之前放置,而不是在之后放置。

If a programmer extracts a free source file he can edit it and so everyone else can read last saved version but none of them can extract it. So the source control is put BEFORE the user's extraction attempt and NOT after.

我已经阅读了这份官方文件:

I've read this official document :

https://msdn.microsoft.com/en-us/library/ms242869.aspx

https://msdn.microsoft.com/en-us/library/ms242869.aspx

但这些设置无法满足我的需求,因为如果我取消选中" 启用多个结帐 ",我会看到每个人都可以提取相同的来源文件。

but these settings don't meet my needs, since if I Un-Check "Enable multiple checkout", I see that everyone can extract the same source file.

我应该使用其他任何选项吗?

Any other option I should use ?

感谢任何能够提供帮助的人。

Thanks to anyone able to help.

推荐答案

建议您的团队了解如何处理多个结账,如果如果要禁用这些,还需要确保所有用户都使用服务器工作区,并且项目集默认设置为服务器工作区。
it's recommended that your team learns how o deal with multiple checkouts, if you want to disable these, you also need to ensure that all users are using a Server Workspace and that the Project Collection default is set to Server Workspace.


这篇关于VS 2015上的TFS 2015:如何设置单个源文件阻止/提取规则?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆