How does one implement FxCop / static analysis on an existing code base

后端 未结 4 947
时光说笑
时光说笑 2021-01-03 04:20

What are some of the strategies that are used when implementing FxCop / static analysis on existing code bases with existing violations? How can one most effectively reduce

4条回答
  •  鱼传尺愫
    2021-01-03 04:51

    Rewrite your code in a passing style!

    Seriously, an old code base will have hundreds of errors - but that's why we have novice/intern programmers. Correcting FxCop violations is a great way to get an overview of the code base and also learn how to write conforming .NET code.

    So just bite the bullet, drink lots of caffeine, and just get through it in a couple days!

提交回复
热议问题