From 20f4bc14ee7c97e8356ed1694a1d762446406852 Mon Sep 17 00:00:00 2001 From: drieseng Date: Fri, 13 Oct 2023 09:46:22 +0200 Subject: [PATCH] Remove CS1591 nowarn from concrete test projects as this is already defined in the Directory.Build.props that is in the test folder. --- .../Renci.SshNet.Benchmarks.csproj | 11 ----------- .../Renci.SshNet.IntegrationTests.csproj | 16 ++-------------- .../Renci.SshNet.TestTools.OpenSSH.csproj | 16 ++++------------ .../Renci.SshNet.Tests/Renci.SshNet.Tests.csproj | 12 +----------- 4 files changed, 7 insertions(+), 48 deletions(-) diff --git a/test/Renci.SshNet.Benchmarks/Renci.SshNet.Benchmarks.csproj b/test/Renci.SshNet.Benchmarks/Renci.SshNet.Benchmarks.csproj index a7d42b5b6..ebad6e9d9 100644 --- a/test/Renci.SshNet.Benchmarks/Renci.SshNet.Benchmarks.csproj +++ b/test/Renci.SshNet.Benchmarks/Renci.SshNet.Benchmarks.csproj @@ -1,19 +1,9 @@ - Exe net7.0 enable enable - - $(NoWarn);CS1591 @@ -27,5 +17,4 @@ - diff --git a/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj b/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj index 091d8e4dd..e59cc1a93 100644 --- a/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj +++ b/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj @@ -3,20 +3,9 @@ net7.0 enable - false true - - $(NoWarn);CS1591;SYSLIB0021;SYSLIB1045;SYSLIB0014;IDE0220;IDE0010 - + $(NoWarn);SYSLIB0021;SYSLIB1045;SYSLIB0014;IDE0220;IDE0010 @@ -27,7 +16,6 @@ - - runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -51,6 +38,7 @@ + diff --git a/test/Renci.SshNet.TestTools.OpenSSH/Renci.SshNet.TestTools.OpenSSH.csproj b/test/Renci.SshNet.TestTools.OpenSSH/Renci.SshNet.TestTools.OpenSSH.csproj index bd59aa4e5..26ab725ef 100644 --- a/test/Renci.SshNet.TestTools.OpenSSH/Renci.SshNet.TestTools.OpenSSH.csproj +++ b/test/Renci.SshNet.TestTools.OpenSSH/Renci.SshNet.TestTools.OpenSSH.csproj @@ -3,19 +3,11 @@ net7.0 enable enable - - - $(NoWarn);CS1591;SYSLIB0021;SYSLIB1045 + $(NoWarn);SYSLIB0021;SYSLIB1045 - + + + \ No newline at end of file diff --git a/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj b/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj index 46887e91a..a4bce13e7 100644 --- a/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj +++ b/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj @@ -1,16 +1,6 @@  net462;net6.0;net7.0 - - $(NoWarn);CS1591 @@ -32,13 +22,13 @@ $(MSTestV1UnitTestFrameworkAssemblyCandidate) - +