How to reject checkins with code analysis violations
Andrew Hall wrote a great post on the Code Analysis Team Blog about how to use the code analysis checkin policy with gated checkin in Team Foundation 2010 Build to reject checkins that have code analysis warnings or errors. He shows you how to configure the rule set and set up the gated build definition to enforce the code analysis rules you&...