How to prevent TFS 2013 from locking binary files?

2019-05-06 21:07发布

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条回答
做自己的国王
2楼-- · 2019-05-06 21:33

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

查看更多
登录 后发表回答