如何防止 TFS 2013 锁定二进制文件? [英] How to prevent TFS 2013 from locking binary files?

查看:38
本文介绍了如何防止 TFS 2013 锁定二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用 TFS 2013 和 Visual Studio 2013,并使用 Gated Check-In.使用门控签入不可能在本地保留待处理的更改,如果其中一个文件被锁定.

We work with TFS 2013 with Visual Studio 2013, and using Gated Check-In. With Gated Check-In it's impossible to preserve pending changes locally, if one of the files is locked.

我们根本不使用锁,但是:

We don't use locks at all, but:

如果检出的文件类型被视为二进制文件,Visual Studio Team Foundation Server 可能会自动锁定它,因为无法合并二进制文件.(MSDN)

If you check out a file that is of a type that is treated as binary, Visual Studio Team Foundation Server might automatically lock it because binary files cannot be merged. (MSDN)

我们希望将 TFS 配置为不锁定二进制文件.我们该怎么做?

We want to configure TFS to not lock binary files. How can we do this?

推荐答案

在 Visual Studio 中,使用团队"菜单,然后是团队项目集合设置",然后是源代码控制..."

In Visual Studio, use the "Team" menu, then "Team Project Collection Settings", then "Source Control..."

从那里您可以更改允许文件合并的类型.

From there you can change which types allow File Merging.

您可能还想查看是否启用多次结帐"被选中.您可以在 Visual Studio 中找到它,使用团队"菜单,然后是团队项目设置",然后是源代码控制..."

You might also want to see if "Enable multiple check-out" is checked. You can find this in Visual Studio, use the "Team" menu, then "Team Project Settings", then "Source Control..."

这篇关于如何防止 TFS 2013 锁定二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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