From c94cf227e45434790a12e7781381a4bb1c3e2aa6 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 12 Apr 2020 17:02:26 +0100 Subject: [PATCH] Add FxCop to the build --- .editorconfig | 6 ++++++ src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/.editorconfig b/.editorconfig index 5b84cc53b..1b8cbb942 100644 --- a/.editorconfig +++ b/.editorconfig @@ -37,3 +37,9 @@ end_of_line = crlf [*.yml] indent_style = space indent_size = 2 + +# C# source +[*.{cs}] + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = none diff --git a/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj b/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj index 6248b6287..c5f04aa2a 100644 --- a/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj +++ b/src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj @@ -31,6 +31,10 @@ Please see https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.3.1 for mor + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +