Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

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: http://blog.jessehouwing.nl

The code, fixed for use in FxCop 10 is now available on Codeplex: http://fxcopcontrib.codeplex.com/SourceControl/changeset/view/1951#

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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