STYLECOP study notes--initial knowledge of STYLECOP

Source: Internet
Author: User

First, the definition

StyleCop is a Microsoft open source static Code analysis tool that examines C # code consistency and coding style.

Second, the supporting environment.

jetbrains r# 5.1.3 (5.1.3000.12) jetbrains r# 6.0 (6.0.2202.688) jetbrains r# 6.1 ( jetbrains r# 6.1.1 (6.1.1000.82) jetbrains r# 7.0.1 (7.0.1098.2760) jetbrains r# 7.1.3 (7.1.3000.2254) jetbrains r# 8.2 ( visual Studio, visual Studio-visual Studio 2013

Third, similar products.

CodeRush: A vs plug-in that gives users a better hint. FxCop: A Microsoft free static code Analysis framework.

STYLECOP: Analyze C # source code to execute a set of style and consistency rules. It can run on Microsoft vs or integrate into an MSBuild project.

Four, installation


2, the installation process.


V. Open VS after select a class or a class library right-click as:

Running Runstylecop will be displayed in the error warning list.

StyleCop Learning notes-StyleCop

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.