StyleCop.MSBuild 4.7.49.1

Requires NuGet 2.7 or higher.

dotnet add package StyleCop.MSBuild --version 4.7.49.1                
NuGet\Install-Package StyleCop.MSBuild -Version 4.7.49.1                
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="4.7.49.1">
  <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 4.7.49.1                
#r "nuget: StyleCop.MSBuild, 4.7.49.1"                
#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.
// Install StyleCop.MSBuild as a Cake Addin
#addin nuget:?package=StyleCop.MSBuild&version=4.7.49.1

// Install StyleCop.MSBuild as a Cake Tool
#tool nuget:?package=StyleCop.MSBuild&version=4.7.49.1                

NOTE: if you are using 4.7.48.0 or earlier, uninstall, then reinstall this version. DO NOT perform an update.

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories (17)

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
Squalr/Squalr
Squalr Memory Editor - Game Hacking Tool Written in C#
telerik/UI-For-UWP
Telerik UI for Universal Windows Platform (UWP) is no longer supported.
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 Downloads Last updated
4.7.49.1 40,373 1/30/2015
4.7.49 74,953 4/1/2014
4.7.48.2 9,100 2/19/2014
4.7.48 6,184 1/2/2014
4.7.47 5,106 11/25/2013
4.7.46.1 1,210 11/9/2013
4.7.46 1,774 9/26/2013
4.7.45 1,478 8/2/2013
4.7.44.1 4,164 1/14/2013
4.7.42.1 786 11/17/2012
4.7.41 341 10/10/2012
4.7.40 669 9/30/2012
4.7.38 86 9/22/2012
4.7.37 94 9/15/2012
4.7.36.1 58 9/13/2012
4.7.36 87 9/11/2012
4.7.35 202 7/26/2012
4.7.34 850 7/9/2012
4.7.33 361 6/30/2012
4.7.32 82 6/28/2012
4.7.31.2 66 6/22/2012
4.7.31.1 101 6/16/2012
4.7.31 78 6/11/2012
4.7.30 60 6/7/2012
4.7.28 67 6/4/2012
4.7.27 57 5/29/2012
4.7.26.6 56 5/27/2012
4.7.25 60 5/24/2012
4.7.24 61 5/21/2012
4.7.23 141 5/17/2012
4.7.19 75 5/5/2012
4.7.18 61 5/1/2012
4.7.17.1 138 4/17/2012
4.7.17 73 3/23/2012
4.7.14 100 3/16/2012

Many thanks to Gareth Budden (https://bitbucket.org/gareth_budden) for contributing to this release.

NOTE: if you are using 4.7.48.0 or earlier, uninstall, then reinstall this version. DO NOT perform an update.

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

StyleCop.MSBuild release notes:-

4.7.49.1 New: StyleCopOverrideSettingsFile will look in %AppData% if not set - https://bitbucket.org/adamralph/stylecop-msbuild/pull-request/1/

4.7.48.1 New: Switch to using /build NuGet feature - https://bitbucket.org/adamralph/stylecop-msbuild/issue/12/

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

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

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

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

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

4.7.26.6 Fixed: 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 New: Update .csproj Import during Nuget package install - https://stylecop.codeplex.com/workitem/7206/