Enable Multi Check Files in TFS

I am using TFS 2010 with a small team. File Validation Policy does not allow multiple validation. But I want for certain files (only for two files (cs files)) there is an option for multiple checking? When you use "check out for edit", the "Lock Type" combo box says that only one can edit the file, and there is no way to change it.

+7
source share
2 answers

Multiple validation in TFS can be enabled or disabled at the project level . To enable or disable it, one of the Team Project Administrator users needs to use Team Explorer to switch to:

(project) β†’ Team Project Settings β†’ Source Control β†’ Checkout Settings and go to the β€œAllow multiple exits” field.

If several checks are enabled for the project, and you right-click on a certain item in the version control explorer and "Check out for editing", you should now be prompted about what type of lock to apply. This allows you to do exclusive checks on each item.

However, AFAIK, you cannot limit a few checks to a subset of elements unless you force your users to manually do exclusive checks on everything else.

+10
source

As Mike Edenfield said, you can enable Multiple Check-Outs in the Team Project Settings :
(project) -> Team Project Settings -> Source Control -> Checkout Settings and go to the "Allow Multiple Check-Outs" field.
But this is not enougth:
In (project) -> Team Project Collection Settings -> Source Control for each type of file you want, enable merging, otherwise TFS will block the file during scanning.

File merging option

+7
source

All Articles