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]