Skip to content

Commit

Permalink
Fix StyleCop Dependency (#397)
Browse files Browse the repository at this point in the history
- Fix build-time dependency on StyleCop.Analyzers to no longer force consumers to use the same analyzers
  • Loading branch information
wsugarman committed Jun 12, 2022
1 parent bf0a6f7 commit c9d1e71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>

<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)\CustomAnalysisRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
Expand All @@ -9,7 +9,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit c9d1e71

Please sign in to comment.