So I ended up recompiling the FxCop 1.36 rules that ship with MSOCAF 2010 to work with Visual Studio 2010.
Today I redid that work and compiled the following sets of rules:
- Microsoft SharePoint Online Code Analysis Framework 2010 for Visual Studio 2010, 2012 and 2013
- Microsoft SharePoint Online Code Analysis Framework 2013 for Visual Studio 2012 and 2013
Drop the correct binary into:
- C:\Program Files (x86)\Microsoft Visual Studio {10|11|12}.0\Team Tools\Static Analysis Tools\FxCop\Rules
Or create a custom .ruleset file and tell it where to find the binaries.