<p>I am trying my hardest to define a list of CodeAnalysisRules that should be omitted from the Code Analysis tools when MSBuild executes my TFSBuild.proj file.</p>

<p>But each time I test it, my list of Code Analysis Rules to exclude are ignored and Team Build just simply honors the Code Analysis Rules settings for each project.</p>

<p>Anyone have an example of a TFSBuild.proj file that shares one list of Code Analysis Rules exceptions for all projects that are build in Team?  I am using Team System 2008.</p>

<p>Thanks for any assistance?</p>

Well, it took me a while to find this but here is the best answer I could find
http://bloggingabout.net/blogs/rick/archive/2007/09/04/howto-disable-specific-code-analysis-rules-for-a-team-build.aspx
It works, and it does let me enforce a consistent set of rules across all of my solutions without having to visit each project's file and that is huge for me as we tweak our rulesets and don't wish to manually update each project each time
Anyone else know of anything that works?
- this was a VS2005 solution/workaround so I was hoping that it would be easier in VS2008 Team System but so far haven't found anything else