StyleCop.MSBuild 5.0.0-beta01

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

This is a prerelease version of StyleCop.MSBuild.
There is a newer version of this package available.
See the version list below for details.
Install-Package StyleCop.MSBuild -Version 5.0.0-beta01
dotnet add package StyleCop.MSBuild --version 5.0.0-beta01
<PackageReference Include="StyleCop.MSBuild" Version="5.0.0-beta01">
  <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 5.0.0-beta01
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* 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.

Dependencies

This package has no dependencies.

Showing the top 10 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
dotnet-ad/Microcharts
Create cross-platform (Xamarin, Windows, ...) simple charts.
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
AutomateThePlanet/AutomateThePlanet-Learning-Series
Automate The Planet Series Source Code
olegsych/T4Toolbox
brutaldev/StrongNameSigner
Strong-name sign third party .NET assemblies without the source code.
microsoftarchive/semantic-logging
Supporting semantic/structured logging for .NET

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
6.1.0 174,249 4/9/2019
6.0.0 87,949 2/23/2019
6.0.0-beta04 18,436 11/24/2018
5.0.0 1,059,289 7/29/2017
5.0.0-beta02 12,380 4/30/2017
5.0.0-beta01 11,760 12/10/2016
5.0.0-alpha01 3,837 10/18/2016
4.7.55 542,211 11/11/2016
4.7.54 299,701 5/14/2016
4.7.53 90,708 5/2/2016
4.7.52 9,406 4/21/2016
4.7.51 35,045 4/4/2016
4.7.50 68,934 2/5/2016
4.7.49.1 365,390 1/30/2015
4.7.49 624,376 4/1/2014
4.7.48.2 24,349 2/19/2014
4.7.48 81,518 1/2/2014
4.7.47 20,047 11/25/2013
4.7.46.1 10,047 11/9/2013
4.7.46 19,968 9/26/2013
4.7.45 22,128 8/2/2013
4.7.44.1 31,544 1/14/2013
4.7.42.1 25,108 11/17/2012
4.7.41 5,893 10/10/2012
4.7.40 11,671 9/30/2012
4.7.38 8,829 9/22/2012
4.7.37 1,354 9/15/2012
4.7.36.1 746 9/13/2012
4.7.36 963 9/11/2012
4.7.35 6,811 7/26/2012
4.7.34 7,939 7/9/2012
4.7.33 2,576 6/30/2012
4.7.32 1,047 6/28/2012
4.7.31.2 738 6/22/2012
4.7.31.1 1,753 6/16/2012
4.7.31 829 6/11/2012
4.7.30 762 6/7/2012
4.7.28 784 6/4/2012
4.7.27 713 5/29/2012
4.7.26.6 670 5/27/2012
4.7.25 686 5/24/2012
4.7.24 792 5/21/2012
4.7.23 969 5/17/2012
4.7.19 863 5/5/2012
4.7.18 785 5/1/2012
4.7.17.1 1,682 4/17/2012
4.7.17 845 3/23/2012
4.7.14 1,045 3/16/2012
Show less