Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic Exclusive Checkout for a Single File in TFS 2010

I am having problems with my fellow developers checking out edmx (Entity Framework) files, in that changes made by different developers can't be auto merged.

Is there a way to configure an automatic exclusive checkout from TFS, so that only one person can be working on that file at a time?

I'm looking for a solution that applies only to one file in the entire solution (rather than everything).

like image 519
G-unit Avatar asked Jun 16 '11 09:06

G-unit


1 Answers

I don't know about per-file, but anyway it sounds like you want per-file type, which is supported.

From VS while connected to TFS, go Team | Team Project Collection Settings | Source Control File Types..., then add a new file type for edmx files with the 'Enable file merging and multiple check out' checkbox unchecked.

like image 126
AakashM Avatar answered Jan 03 '23 14:01

AakashM