Static Analysis MSOCAF rules As you might have read previously, I've been trying to incorporate MSOCAF directly in both Visual Studio 2010 and Team Build. The simplest solution would be to code up an msbuild task and put those in a target and reference that target in all project files. I know
Static Analysis Run MSOCAF in Visual Studio and on the build server UPDATE (1st of November 2011): I've since uploaded the re-targetted MSOCAF rules to CodePlex [http://fxcopcontrib.codeplex.com/SourceControl/changeset/view/3099]and I've applied a few fixes to prevent CodeAnalysis from crashing under certain conditions [https://jessehouwing.net/visual-studio-code-analaysis-msocaf-rules]