Skip to content

Commit 5c2e2b4

Browse files
authored
Use SDK-style project where possible (#629)
* Change Renci.SshNet project into SDK-style project supporting .NET 3.5, .NET 4.0; .NET Standard 1.3, .NET Standard 2.0. * Remove .NET 3.5 project. * Remove .NET 3.5 test project. * Refactor away .NET 3.5 and .NET 4.0 specific source files. * Remove .NET Core project. * Add VS 2019 solution. * Use VS 2019 image and solution file in AppVeyor. * Run tests against multi-target framework test project. * No need to shutdown socket when client disconnects.
1 parent 5d23ed4 commit 5c2e2b4

36 files changed

+598
-5566
lines changed

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
os: Visual Studio 2015
1+
os: Visual Studio 2019
22

33
before_build:
4-
- nuget restore src\Renci.SshNet.VS2015.sln
4+
- nuget restore src\Renci.SshNet.VS2019.sln
55

66
build:
7-
project: src\Renci.SshNet.VS2015.sln
7+
project: src\Renci.SshNet.VS2019.sln
88
verbosity: minimal
99

1010
test_script:
1111
- cmd: >-
12-
vstest.console /logger:Appveyor src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"
12+
vstest.console /logger:Appveyor src\Renci.SshNet.Tests\bin\Debug\net40\Renci.SshNet.Tests.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"
1313
14-
vstest.console /logger:Appveyor src\Renci.SshNet.Tests.NET35\bin\Debug\Renci.SshNet.Tests.NET35.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"
14+
vstest.console /logger:Appveyor src\Renci.SshNet.Tests\bin\Debug\net35\Renci.SshNet.Tests.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"

runtest.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rem vstest.console src\Renci.SshNet.Tests\bin\Debug\net40\Renci.SshNet.Tests.dll "/TestCaseFilter:TestCategory=Gert
2+
3+
vstest.console src\Renci.SshNet.Tests\bin\Debug\net40\Renci.SshNet.Tests.dll /TestCaseFilter:"TestCategory!=integration&TestCategory!=LongRunning"

src/Renci.SshNet.NET35/Common/Extensions.NET35.cs

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/Renci.SshNet.NET35/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)