I want to use the Micrsoft Online Code Analysis Framework for our Environment to check the Solutions. It is possible to modify the Custom Rules?
1 Answer
As the rules are compiled, they're just FxCop rules, you can't simply edit an xml file or something.
It is fairly easy to create your own FxCop rules, but there is very little documentation available. We had a few issues with the default MSOCAF rules, so I decompiled them using ,NET Reflector, fixed the issue, targeted them to FxCop 10 instead of 1.36 and they are now part of the automated build system in TFS.
See my blog for details:
The code, fixed for use in FxCop 10 is now available on Codeplex: