Is it possible to reject the check in of files or break the build if a file is checked in which contains a TODO (or certain string) using TFS/TeamCity?
It would need to ignore any files which already contained the TODO and would only be break the build/reject the check in if a file is changed and then checked in.
This could be used to force existing TODOs to be dealt with when a dev makes changes to a file which contains the TODO.
Could this be done?