[Fxcop] One of the Articles reposted in the fxcop series: Using fxcop to build robust and reliable software

Source: Internet
Author: User
ArticleDirectory
  • IDE Integration
Reprinted from: http://editblog.csdn.net/msdncolumn/archive/2005/05/26/3702.aspx
Fxcop

Fxcop is a static analysis tool that manages AnalysisCodeProgramSet and report information about the set. Fxcop indicates the inspection performed as a rule during the analysis. A rule is a managed code that analyzes an assembly and returns messages about its findings. Rule messages Identify any related programming and design issues and, if possible, provide information about how to fix goals.

IDE Integration

To enable developers to naturally use analysis tools, developers can choose run fxcop on the project's property pages, as shown in 3.


Figure 3 enable fxcop

For additional options that include or exclude rules and use them as warnings or errors, you can also find them in property pages, as shown in figure 4.


Figure 4 fxcop rules

Once fxcop is enabled, fxcop reports a conflict in the error list during the generation process, as shown in Figure 5.


Figure 5 fxcop rule conflict

Error List provides information and suggestions on Rule conflicts, so that you can correct errors. You only need to double-click rule conflict in the error list to easily locate the code line that violates the rule.

Related Article

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: info-contact@alibabacloud.com 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.