TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Q: How can I exclude a file from code churn?

October 12th, 2008 · No Comments · Team Foundation Version Control, TFS Reporting, TFS Tips and Tricks, VSTS

A: You can change it’s encoding in version control to Binary.


The code churn value used by TFS report, like the Quality Indicators report, might not make any sense to you if files this value includes some specific files, like auto-generated files, that were not created/edited by humans.


  • Comparing binary files in the command line or UI will just result in “Binary files differ” rather than a diff viewer showing the changes.
  • By default, multiple checkouts of binary files are not allowed.

Step-by-Step instructions:




(Thanks to Brian Harry for this tip.)


No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment