StyleCop.MSBuild
4.7.48.2
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/.
Requires NuGet 2.8 or higher.
Install-Package StyleCop.MSBuild -Version 4.7.48.2
dotnet add package StyleCop.MSBuild --version 4.7.48.2
<PackageReference Include="StyleCop.MSBuild" Version="4.7.48.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
paket add StyleCop.MSBuild --version 4.7.48.2
#r "nuget: StyleCop.MSBuild, 4.7.48.2"
// Install StyleCop.MSBuild as a Cake Addin
#addin nuget:?package=StyleCop.MSBuild&version=4.7.48.2
// Install StyleCop.MSBuild as a Cake Tool
#tool nuget:?package=StyleCop.MSBuild&version=4.7.48.2
Release Notes
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.48.2
New: Switch to using /build NuGet feature - https://bitbucket.org/adamralph/stylecop-msbuild/issue/12/
New: Package as developmentDependency - https://bitbucket.org/adamralph/stylecop-msbuild/issue/13/
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/
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 4.7.48.2 | 0 | 06.02.2022 |