Updated MSOCAF for Visual Studio Code Analysis rules
2 years ago I worked on a huge SharePoint project where we had to run the MSOCAF wizard before deployment to the production environment. And of course, every time a few rules triggered that caused huge rework efforts.
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.