Q: How can I exclude a file from code churn?
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.
(Thanks to Brian Harry for this tip.)