StyleCop.MSBuild 4.7.46.1

Adds official StyleCop MSBuild targets to your project for running StyleCop analysis with every build. Includes official StyleCop binaries. Works both on a developer workstation (with or without Visual Studio) and on a build server. Does not require installation of StyleCop on any machine. Compatible with NuGet package restore. For update notifications follow https://twitter.com/adamralph. Come and chat to fellow developers about StyleCop and StyleCop.MSBuild at https://jabbr.net/#/rooms/stylecop/.

NOTE: There is a known issue with NuGet Package Manager versions 1.8 to 2.0. See https://nuget.codeplex.com/workitem/2253 for details. If you are using NuGet Package Manager versions 1.8 to 2.0, you are advised to upgrade to version 2.1 or later before installing or updating StyleCop.MSBuild. If you are unable to upgrade to NuGet Package Manager version 2.1 or later and you have problems installing or updating StyleCop.MSBuild, see https://nuget.codeplex.com/workitem/2253 for a workaround. This issue was resolved in NuGet Package Manager version 2.1.

NOTE: If your solution is currently using StyleCop.MSBuild.4.7.17.0 or earlier, updating to a later version will NOT work. Instead of updating, uninstall your current version and then install a later version. See http://adamralph.com/2012/04/17/introducing-stylecop-msbuild/ for an explanation.

There is a newer version of this package available.
See the version list below for details.
Install-Package StyleCop.MSBuild -Version 4.7.46.1
dotnet add package StyleCop.MSBuild --version 4.7.46.1
<PackageReference Include="StyleCop.MSBuild" Version="4.7.46.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StyleCop.MSBuild --version 4.7.46.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

For StyleCop release notes see https://stylecop.codeplex.com/.

StyleCop.MSBuild release notes:-

4.7.46.1 (Bug) 'intitial' typo in Install.ps1 (https://bitbucket.org/adamralph/stylecop-msbuild/issue/11)

4.7.36.1 (Enhancement) Add StyleCopSettingsEditor.exe to tools folder (https://bitbucket.org/adamralph/stylecop-msbuild/issue/5).

4.7.32.0 (Enhancement) Remove duplication in XML elements (https://bitbucket.org/adamralph/stylecop-msbuild/issue/3).

4.7.31.2 (Enhancement) Compatibility with package restore workflow (https://bitbucket.org/adamralph/stylecop-msbuild/issue/1).

4.7.31.1 (Bug) Changes element content line endings to unix style in project file (https://bitbucket.org/adamralph/stylecop-msbuild/issue/2).

4.7.26.6 (Bug) Import element is not removed from csproj file when the repository root folder is not named 'packages' and/or when the repository root folder belongs to the same folder as the csproj file.

4.7.17.1 (Enchancement) Update .csproj Import during Nuget package install (https://stylecop.codeplex.com/workitem/7206).

NOTE: There is a known issue with NuGet Package Manager versions 1.8 to 2.0. See https://nuget.codeplex.com/workitem/2253 for details. If you are using NuGet Package Manager versions 1.8 to 2.0, you are advised to upgrade to version 2.1 or later before installing or updating StyleCop.MSBuild. If you are unable to upgrade to NuGet Package Manager version 2.1 or later and you have problems installing or updating StyleCop.MSBuild, see https://nuget.codeplex.com/workitem/2253 for a workaround. This issue was resolved in NuGet Package Manager version 2.1.

NOTE: If your solution is currently using StyleCop.MSBuild.4.7.17.0 or earlier, updating to a later version will NOT work. Instead of updating, uninstall your current version and then install a later version. See http://adamralph.com/2012/04/17/introducing-stylecop-msbuild/ for an explanation.

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
microsoftarchive/semantic-logging
Supporting semantic/structured logging for .NET
BudgetFirst/BudgetFirst
Budget First is an open source budget application based on the envelope budgeting or zero-sum budget approach, in which income is partitioned in various categories and spending only occurs from these categories.

Version History

Version Downloads Last updated
6.1.0 49,756 4/9/2019
6.0.0 15,782 2/23/2019
6.0.0-beta04 12,557 11/24/2018
5.0.0 841,941 7/29/2017
5.0.0-beta02 10,503 4/30/2017
5.0.0-beta01 11,598 12/10/2016
5.0.0-alpha01 3,717 10/18/2016
4.7.55 443,839 11/11/2016
4.7.54 277,304 5/14/2016
4.7.53 76,825 5/2/2016
4.7.52 9,084 4/21/2016
4.7.51 33,392 4/4/2016
4.7.50 66,490 2/5/2016
4.7.49.1 334,287 1/30/2015
4.7.49 582,234 4/1/2014
4.7.48.2 23,864 2/19/2014
4.7.48 80,365 1/2/2014
4.7.47 19,727 11/25/2013
4.7.46.1 9,710 11/9/2013
4.7.46 17,692 9/26/2013
4.7.45 20,358 8/2/2013
4.7.44.1 28,655 1/14/2013
4.7.42.1 14,116 11/17/2012
4.7.41 5,743 10/10/2012
4.7.40 11,484 9/30/2012
4.7.38 8,709 9/22/2012
4.7.37 1,200 9/15/2012
4.7.36.1 629 9/13/2012
4.7.36 838 9/11/2012
4.7.35 6,673 7/26/2012
4.7.34 7,780 7/9/2012
4.7.33 2,435 6/30/2012
4.7.32 930 6/28/2012
4.7.31.2 624 6/22/2012
4.7.31.1 994 6/16/2012
4.7.31 712 6/11/2012
4.7.30 645 6/7/2012
4.7.28 671 6/4/2012
4.7.27 601 5/29/2012
4.7.26.6 555 5/27/2012
4.7.25 571 5/24/2012
4.7.24 674 5/21/2012
4.7.23 843 5/17/2012
4.7.19 746 5/5/2012
4.7.18 667 5/1/2012
4.7.17.1 1,563 4/17/2012
4.7.17 725 3/23/2012
4.7.14 865 3/16/2012
Show less