How to prevent TFS 2013 from locking binary files?

浪子不回头ぞ 提交于 2019-12-07 08:15:30

问题


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:

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)

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


回答1:


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.

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..."



来源:https://stackoverflow.com/questions/38300963/how-to-prevent-tfs-2013-from-locking-binary-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!