diff --git a/build/build.proj b/build/build.proj index 40ef012b6..907dce192 100644 --- a/build/build.proj +++ b/build/build.proj @@ -53,10 +53,6 @@ - - Renci.SshNet\bin\$(Configuration)\net35 - net35 - Renci.SshNet\bin\$(Configuration)\net40 net40 @@ -69,6 +65,14 @@ Renci.SshNet\bin\$(Configuration)\netstandard2.0 netstandard2.0 + + Renci.SshNet\bin\$(Configuration)\netcoreapp3.1 + netcoreapp3.1 + + + Renci.SshNet\bin\$(Configuration)\net5.0 + netcoreapp3.1 + diff --git a/build/nuget/SSH.NET.nuspec b/build/nuget/SSH.NET.nuspec index 038305832..deec05949 100644 --- a/build/nuget/SSH.NET.nuspec +++ b/build/nuget/SSH.NET.nuspec @@ -16,7 +16,6 @@ en-US ssh scp sftp - @@ -29,6 +28,12 @@ + + + + + + diff --git a/src/Renci.SshNet.Tests/Classes/PrivateKeyFileTest.cs b/src/Renci.SshNet.Tests/Classes/PrivateKeyFileTest.cs index 99434d71a..9cc80372c 100644 --- a/src/Renci.SshNet.Tests/Classes/PrivateKeyFileTest.cs +++ b/src/Renci.SshNet.Tests/Classes/PrivateKeyFileTest.cs @@ -435,7 +435,7 @@ public void ConstructorWithFileNameAndPassphrase() /// A test for ctor. /// [TestMethod()] - public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenPrivateKeyIsEncryptedAndPassphraseIsEmpty() + public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenNeededPassphraseIsEmpty() { var passphrase = string.Empty; @@ -460,7 +460,7 @@ public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEm /// A test for ctor. /// [TestMethod()] - public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenPrivateKeyIsEncryptedAndPassphraseIsNull() + public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenNeededPassphraseIsNull() { string passphrase = null; diff --git a/src/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj b/src/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj index d7ee81e9a..a561751e7 100644 --- a/src/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj +++ b/src/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj @@ -5,15 +5,12 @@ - net35;net40;netcoreapp2.1;netcoreapp2.2 + net40;netcoreapp2.1;netcoreapp2.2 - net35;net40;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0 + netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net5.0 - - - FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_TPL @@ -26,6 +23,12 @@ FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_TPL + + FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_TPL + + + FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_TPL + @@ -79,12 +82,6 @@ $(MSTestV1UnitTestFrameworkAssemblyCandidate) - - - $(MSTestV1UnitTestFrameworkAssembly) - - - $(MSTestV1UnitTestFrameworkAssembly) @@ -115,6 +112,22 @@ + + + + + 2.1.0 + + + + + + + + 2.1.0 + + + diff --git a/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs b/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs index 0425d1fba..0883060cc 100644 --- a/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs +++ b/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs @@ -5,13 +5,13 @@ [assembly: AssemblyDescription("SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.")] [assembly: AssemblyCompany("Renci")] [assembly: AssemblyProduct("SSH.NET")] -[assembly: AssemblyCopyright("Copyright © Renci 2010-2017")] +[assembly: AssemblyCopyright("Copyright © Renci 2010-2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("2017.0.0")] -[assembly: AssemblyFileVersion("2017.0.0")] -[assembly: AssemblyInformationalVersion("2017.0.0-beta1")] +[assembly: AssemblyVersion("2020.0.1")] +[assembly: AssemblyFileVersion("2020.0.1")] +[assembly: AssemblyInformationalVersion("2020.0.1")] [assembly: CLSCompliant(false)] // Setting ComVisible to false makes the types in this assembly not visible diff --git a/src/Renci.SshNet/Renci.SshNet.csproj b/src/Renci.SshNet/Renci.SshNet.csproj index 124ce9d4b..cb25a082f 100644 --- a/src/Renci.SshNet/Renci.SshNet.csproj +++ b/src/Renci.SshNet/Renci.SshNet.csproj @@ -7,7 +7,7 @@ ../Renci.SshNet.snk 5 true - net35;net40;netstandard1.3;netstandard2.0 + net40;netstandard1.3;netstandard2.0;netcoreapp3.1;net5.0