From 7418872767dc1ee1c806a8e3d0886d4269c47dd6 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 49fcd8190..2dd156e8a 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.2 for mor + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +