StyleCop.MSBuild 6.2.0

Integrates StyleCop "Classic" source code analysis into the build process of C# projects to enforce a set of style and consistency rules.

Install-Package StyleCop.MSBuild -Version 6.2.0
dotnet add package StyleCop.MSBuild --version 6.2.0
<PackageReference Include="StyleCop.MSBuild" Version="6.2.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StyleCop.MSBuild --version 6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

For 6.2.0:
-Fixed ArgumentNullException on indexer initializer for dictionary (#214).
-Removed lingering usage of StyleCop.targets installed by StyleCop 4.7.

For 6.1.0:
-Added support for Visual Studio 2019 and newer.
-Fixed parsing of default value expressions without a specified type (#172).

For 6.0.0:
-Fixed parsing of switch statements with pattern matching (#154).
-Fixed parsing of nullable ValueTuple types (#163).
-Fixed parsing of pattern-matching expressions in LINQ statements (#171).
-Fixed parsing of ValueTuple types in foreach statements (#179).
-Fixed parsing of a local function with a namespace-qualified return type (#191).
-Fixed parsing of interpolated strings containing an "at" symbol (#192).
-Fixed parsing of variables named "yield" (#195).
-Fixed parsing of inline "out" variables.
-Fixed parsing of nullable local functions.
-Fixed analysis of spacing when the return type of a method is a Task with a ValueTuple result type (#141).
-Fixed the directory used when searching for a local copy of spelling libraries (#160).
-Included the local directory when searching for add-ins (#50).
-Expanded the supported target versions of Visual Studio Professional (#166).
-Made the "don't care" identifier (i.e. a single underscore character) acceptable (#140).

Dependencies

This package has no dependencies.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on StyleCop.MSBuild:

Package Downloads
StyleCopPlus.MSBuild
StyleCopPlus.MSBuild integrates StyleCopPlus into the build process. This is just a simple Nuget that sets StyleCopAdditionalAddinPaths to the StyleCopPlus.dll folder. All regards to the corresponding authors.
StyleCop.Error.MSBuild
Forces the Style cop warnings to appear as errors while building.
PushoverQ
PushoverQ is the only opinionated queue library for Azure Service Bus.
RedWood
Redwoodbase
Granite
Granite Framework 0.7.5

GitHub repositories (16)

Showing the top 5 popular GitHub repositories that depend on StyleCop.MSBuild:

Repository Stars
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Glimpse/Glimpse
The open source diagnostics platform for the web
telerik/UI-For-UWP
This repo contains the source code for Telerik UI for Universal Windows Platform (UWP), which includes 20+ UI controls for developers building UWP applications.
realm/realm-dotnet
Realm is a mobile database: a replacement for SQLite & ORMs
VaughnVernon/IDDD_Samples_NET
These are the sample Bounded Contexts for C#.NET from the book "Implementing Domain-Driven Design" by Vaughn Vernon: http://vaughnvernon.co/?page_id=168

Version History

Version Downloads Last updated
6.2.0 2,478 7/3/2020
6.1.0 226,189 4/9/2019
6.0.0 120,985 2/23/2019
6.0.0-beta04 20,157 11/24/2018
5.0.0 1,112,548 7/29/2017
5.0.0-beta02 12,910 4/30/2017
5.0.0-beta01 11,878 12/10/2016
5.0.0-alpha01 3,886 10/18/2016
4.7.55 580,968 11/11/2016
4.7.54 309,026 5/14/2016
4.7.53 97,403 5/2/2016
4.7.52 9,518 4/21/2016
4.7.51 35,607 4/4/2016
4.7.50 69,908 2/5/2016
4.7.49.1 377,098 1/30/2015
4.7.49 636,303 4/1/2014
4.7.48.2 25,291 2/19/2014
4.7.48 81,807 1/2/2014
4.7.47 20,214 11/25/2013
4.7.46.1 10,154 11/9/2013
4.7.46 20,741 9/26/2013
4.7.45 22,376 8/2/2013
4.7.44.1 34,445 1/14/2013
4.7.42.1 27,445 11/17/2012
4.7.41 5,963 10/10/2012
4.7.40 11,746 9/30/2012
4.7.38 8,877 9/22/2012
4.7.37 1,408 9/15/2012
4.7.36.1 792 9/13/2012
4.7.36 1,007 9/11/2012
4.7.35 6,871 7/26/2012
4.7.34 8,003 7/9/2012
4.7.33 2,634 6/30/2012
4.7.32 1,091 6/28/2012
4.7.31.2 772 6/22/2012
4.7.31.1 2,179 6/16/2012
4.7.31 876 6/11/2012
4.7.30 807 6/7/2012
4.7.28 831 6/4/2012
4.7.27 758 5/29/2012
4.7.26.6 712 5/27/2012
4.7.25 729 5/24/2012
4.7.24 835 5/21/2012
4.7.23 1,014 5/17/2012
4.7.19 910 5/5/2012
4.7.18 829 5/1/2012
4.7.17.1 1,718 4/17/2012
4.7.17 886 3/23/2012
4.7.14 1,407 3/16/2012