1

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?

Micrsoft Online Code Analysis Framework

1 Answer 1

2

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:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.