Static analysis/FxCop extensibility RRS feed

  • Question

  • I understand that the FxCop team no longer releases or officially supports their SDK for custom rule development because their code is evolving, especially in the stand-alone version. However, I presume that the Static Analysis capability bundled with VS 2005 must be near-complete, more stable and could be more reliably extended. If that's true, is there any way to obtain as-current-as-possible SDK documentation on the RC version of VS 2005's static analysis, particularly the introspection engine?
    Tuesday, August 30, 2005 9:57 PM


  • Below is a link to our FAQ on this topic.


    We haven't released an official SDK because, as you note, several areas continue to evolve and breaking changes in the future are guaranteed. This extends to the VS functionality as well, since the stand-alone and VS versions of FxCop are nearly identical.

    As noted in the FAQ above, many custom rule examples exist and we do provide active assistance on the message boards for writing custom rules. This doesn't address the primary concern that all rules written today will need to be re-written in the future. We emphasize this point because an investment in custom rules often turns into a drag on development teams' ability to update to a new version of the tool.

    Michael Fanning
    VSTS Development: Code Analysis
    Thursday, September 1, 2005 8:19 PM