Skip to content

Commit 56f92d4

Browse files
Bump StyleCop for better C#9 compatibility
1 parent f48ab82 commit 56f92d4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

msbuild/props/SixLabors.Global.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@
115115
PrivateAssets="All" Version="1.0.0"
116116
IsImplicitlyDefined="true"
117117
Condition="$(TargetFramework.StartsWith('net4'))"/>
118-
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.118" IsImplicitlyDefined="true" />
118+
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354" IsImplicitlyDefined="true">
119+
<PrivateAssets>all</PrivateAssets>
120+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
121+
</PackageReference>
119122
<AdditionalFiles Include="$(MSBuildThisFileDirectory)..\..\stylecop.json" />
120123
</ItemGroup>
121124

0 commit comments

Comments
 (0)