Skip to content

Commit 9d563e5

Browse files
committed
Add FxCop to the build
1 parent f36ca37 commit 9d563e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Please see https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.2 for more
3131
</PropertyGroup>
3232

3333
<ItemGroup>
34+
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8">
35+
<PrivateAssets>all</PrivateAssets>
36+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37+
</PackageReference>
3438
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
3539
</ItemGroup>
3640

0 commit comments

Comments
 (0)