FxCop

From MetaSharp

Jump to: navigation, search

Article Author(s): Audric Thevenet
All Rights Reserved.


As a start, use FxCop, always.

  • download and install latest FxCop.
  • start FxCop
  • Do "File" -> "New Project"
  • Do "Project" -> "Add Targets..."
  • add this way the library (*.dll) or executable (*.exe) file that you created with Visual Studio
  • Do "Project" -> "Analyse"
  • In the upper right of the window you'll see all the fixes you could do to have a compliant and efficient.

Finally, don't forget to have a look at the FxCop documentation.