G-unit
G-unit

Reputation: 401

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

Upvotes: 9

Views: 2794

Answers (1)

AakashM
AakashM

Reputation: 63338

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.

Upvotes: 17

Related Questions