StyleCop.MSBuild 5.0.0

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

No packages depend on StyleCop.MSBuild.

* Added parser support for property ref returns * Fixed the line numbers reported for violations within verbatim interpolated strings * Fixed a false positive of SA1502 for expression bodied properties that contain object/collection initializers * Fixed the parsing of catch statements with exception filters * Fixed a bug when trying to open included XML documentation files on case-sensitive filesystems * Fixed a bug where the StyleCop extension would not be properly removed For 5.0.0-beta02: * 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.

This package has no dependencies.

Version Downloads Last updated
6.2.0 31 08/30/2023
6.1.0 26 08/30/2023
6.0.0 29 08/27/2023
6.0.0-beta04 22 08/30/2023
5.0.0 31 08/30/2023
5.0.0-beta02 28 08/30/2023
5.0.0-beta01 22 08/30/2023
5.0.0-alpha01 33 08/30/2023
4.7.55 32 08/30/2023
4.7.54 32 08/30/2023
4.7.53 33 08/30/2023
4.7.52 31 08/30/2023
4.7.51 32 08/30/2023
4.7.50 30 08/30/2023
4.7.49.1 51 10/21/2021
4.7.49 25 08/30/2023
4.7.48.2 27 08/30/2023
4.7.48 26 08/30/2023
4.7.47 49 08/30/2023
4.7.46.1 28 09/24/2023
4.7.46 25 08/25/2023
4.7.45 30 08/16/2023
4.7.44.1 33 08/30/2023
4.7.42.1 27 08/30/2023
4.7.41 25 08/30/2023
4.7.40 24 08/30/2023
4.7.38 31 08/30/2023
4.7.37 28 09/25/2023
4.7.36.1 25 08/30/2023
4.7.36 27 09/29/2023
4.7.35 27 08/30/2023
4.7.34 26 08/27/2023
4.7.33 27 08/30/2023
4.7.32 34 08/30/2023
4.7.31.2 25 08/30/2023
4.7.31.1 25 08/30/2023
4.7.31 30 08/30/2023
4.7.30 30 06/20/2023
4.7.28 29 08/30/2023
4.7.27 30 08/30/2023
4.7.26.6 30 08/30/2023
4.7.25 25 08/30/2023
4.7.24 28 08/30/2023
4.7.23 32 08/30/2023
4.7.19 26 08/30/2023
4.7.18 28 08/23/2023
4.7.17.1 34 08/30/2023
4.7.17 26 08/30/2023
4.7.14 30 08/30/2023