Code Check Tool fxcop

Source: Internet
Author: User
Tags visual studio 2010
Fxcop It helps you create consistentCodeBut it cannot make up for bad applicationsProgramDesign or programming. Fxcop It is not an alternative tool for code review, but it can capture a large number of errors before code review, so you can spend more time on key issues rather than worrying about naming conventions.

:Http:// Displaylang = en & familyid = 6b6c21d2-2006-4afa-9702-529fa782


Windows XP: Program-> Microsoft Windows SDK-> toos-> install Microsoft fxcop

Windows 7: Program-> Microsoft Visual Studio 2005 (or Microsoft Visual Studio 2010)-> Microsoft Windows SDK tools-> install Microsoft fxcop

Open fxcop and add dll:

Save. Note: Make sure that the project is stored in your solution folder and the project name isSolutionfilename. Sln. fxcop. WhereSolutionfilename is the name of your solution file.

Configure an external tool in vs2010:Vs2010-> Tools-> external tools 


Command:Install directory\ Fxcopcmd.exe

Arguments:/C/P: "$ (Solutiondir) \ $ (Solutionfilename).Fxcop"/Cxsl:"Install directory\ XML \ vsconsoleoutput. XSL"

Initial directory:Install directory

Select "use output window".Note: Replace the "install directory" with the "fxcop" installation directory. Others remain unchanged.

Run:Tools-> fxcop

Download user manual: downloads

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.