From e40da87e1a6521a61ba18787cc6f0a07198d92c1 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 3d0654f32..03e789b73 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.2 for more + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +