encyclopegia.org

StyleCop

StyleCop is an open-source static code analysis tool from Microsoft that checks C# code for conformance to StyleCop's recommended coding styles and a subset of Microsoft's .NET Framework Design Guidelines. StyleCop analyses the source code, allowing it to enforce a different set of rules from FxCop (which, instead of source code, checks .NET managed code assemblies). The rules are classified into the following categories: *Documentation *Layout *Maintainability *Naming *Ordering *Readability *Spacing StyleCop includes both GUI and command-line versions of the tool. It is possible to add new rules to be applied. StyleCop was originally developed by Jason Allor as a Microsoft internal tool, and was released externally as an open-source project in April 2010 on CodePlex. StyleCop 4.7.55 (November 10, 2016) is compatible with Visual Studio 2008, 2010, 2012, 2013, and 2015. (Microsoft Visual Studio Extension) StyleCop began a move to GitHub in December 2014, and the last change applied to the CodePlex edition was November 11, 2016. StyleCop 5.0.6329.1 (April 30, 2017) works with Visual Studio 2012, 2013, 2015, and 2017. (Windows Installer) Development is stopping. A named successor is StyleCopAnalyzers, for Visual Studio 2015 and later.

StyleCop is an open-source static code analysis tool from Microsoft that checks C# code for conformance to StyleCop's recommended coding styles and a subset of Microsoft's .NET Framework Design Guidelines. StyleCop analyses the source code, allowing it to enforce a different set of rules from FxCop (which, instead of source code, checks .NET managed code assemblies). The rules are classified into the following categories: Documentation Layout Maintainability Naming Ordering Readability Spacing StyleCop includes both GUI and command-line versions of the tool. It is possible to add new rules to be applied. StyleCop was originally developed by Jason Allor as a Microsoft internal tool, and was released externally as an open-source project in April 2010 on CodePlex. StyleCop 4.7.55 (November 10, 2016) is compatible with Visual Studio 2008, 2010, 2012, 2013, and 2015. (Microsoft Visual Studio Extension) StyleCop began a move to GitHub in December 2014, and the last change applied to the CodePlex edition was November 11, 2016. StyleCop 5.0.6329.1 (April 30, 2017) works with Visual Studio 2012, 2013, 2015, and 2017. (Windows Installer) Development is stopping. A named successor is StyleCopAnalyzers, for Visual Studio 2015 and later. ==See also== FxCop List of tools for static code analysis ==References== ==External links== Legacy Microsoft-hosted StyleCop blog (2010)

References

No reference rows published for this article.

Cite this article

MLA

"StyleCop." encyclopegia.org, 2025, https://encyclopegia.org/wiki/stylecop. Accessed 24 November 2026.

Chicago

"StyleCop." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/stylecop.

APA

encyclopegia.org. (2025). StyleCop. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/stylecop

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2010Wikipedia
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1329534667 · 0.55 · snapshot stylecop-857881-6d30e772c776dc4b · QID Q7629378

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.