StyleCop.MSBuild 5.0.0-beta02

This is a prerelease version of StyleCop.MSBuild.
There is a newer version of this package available.
See the version list below for details.
dotnet add package StyleCop.MSBuild --version 5.0.0-beta02
                    
NuGet\Install-Package StyleCop.MSBuild -Version 5.0.0-beta02
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StyleCop.MSBuild" Version="5.0.0-beta02">
  <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.
<PackageVersion Include="StyleCop.MSBuild" Version="5.0.0-beta02" />
                    
Directory.Packages.props
<PackageReference Include="StyleCop.MSBuild">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StyleCop.MSBuild --version 5.0.0-beta02
                    
#r "nuget: StyleCop.MSBuild, 5.0.0-beta02"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package StyleCop.MSBuild@5.0.0-beta02
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StyleCop.MSBuild&version=5.0.0-beta02&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=StyleCop.MSBuild&version=5.0.0-beta02&prerelease
                    
Install as a Cake Tool

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (17)

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

Package Downloads
StyleCop.Error.MSBuild

Forces the Style cop warnings to appear as errors while building.

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.

Infrastructure.DataAccess

Lensgrinder's flexible data access utilities.

PushoverQ

PushoverQ is the only opinionated queue library for Azure Service Bus.

RedWood

Redwoodbase

GitHub repositories (2)

Showing the top 2 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
Version Downloads Last Updated
6.2.0 840,911 7/3/2020
6.1.0 773,853 4/9/2019
6.0.0 224,864 2/23/2019
6.0.0-beta04 32,590 11/24/2018
5.0.0 1,846,421 7/29/2017
5.0.0-beta02 42,372 4/30/2017
5.0.0-beta01 14,396 12/10/2016
5.0.0-alpha01 6,352 10/18/2016
4.7.55 793,789 11/11/2016
4.7.54 451,195 5/14/2016
4.7.53 121,550 5/2/2016
4.7.52 15,332 4/21/2016
4.7.51 40,268 4/4/2016
4.7.50 87,557 2/5/2016
4.7.49.1 828,978 1/30/2015
4.7.49 858,662 4/1/2014
4.7.48.2 43,016 2/19/2014
Loading failed

* Fixed the parsing of backslashes in multi-line interpolated string literals (GitHub issue #88)
* Fixed the name of the default settings file included in the VSIX (changed from DefaultSettings.StyleCop to Settings.StyleCop)
* Changed SA1202 to be more permissive with dependency properties (GitHub issue #51)
* Added parser support for pattern matching (GitHub issue #106)
* Added parser support for throw expressions (GitHub issue #92)
* Added parser support for binary literals and digit separators (GitHub issue #94)
* Added parser support for ref returns and ref locals
* Added parser support for local functions
* Added parser support for tuple types and tuple literals
* Added parser support for deconstruction

For 5.0.0-beta01:
* Renamed SA1216:NoValueFirstComparison to SA1131:UseReadableConditions to match the StyleCopAnalyzers project (CodePlex issue #7737)
* Renamed SA1217:UsingStaticDirectivesMustBePlacedAfterUsingNamespaceDirectives to SA1216:UsingStaticDirectivesMustBePlacedAtTheCorrectLocation to match the StyleCopAnalyzers project (CodePlex issue #7738)
* Fixed a potential IndexOutOfRangeException when parsing newline characters near a ternary operator (CodePlex issues #7748, #7743, #7742)
* Modified CurlyBracketsForMultiLineStatementsMustNotShareLine to allow object and collection initializers on a single line within a multi-line lambda.
* Documentation of all <exception> elements is now checked, instead of just the first one (CodePlex issue #7731)
* Fixed parsing of fields or method parameters with a type similar to int?, (CodePlex issue #7729)
* Stopped reporting SA1648:InheritDocMustBeUsedWithInheritingClass if the documentation includes a cref attribute (CodePlex issue #7488)
* Included preferred alternate spellings when spellchecking (CodePlex issue #7733)
* Documentation rules are no longer checked if an <exclude/> tag is present (CodePlex issue #7732)
* Added support for Office 2013 and 2016 (including click-to-run installations) to SpellChecker.