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?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
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# |
||||
|
|