diff --git a/build/nuget/SSH.NET.nuspec b/build/nuget/SSH.NET.nuspec index deb2a1c2..8afa607f 100644 --- a/build/nuget/SSH.NET.nuspec +++ b/build/nuget/SSH.NET.nuspec @@ -2,7 +2,7 @@ SSH.NET - 2016.0.0 + 2016.1.0-beta1 SSH.NET Renci olegkap,drieseng @@ -10,7 +10,7 @@ https://github.com/sshnet/SSH.NET/ false SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism and with broad framework support. - https://github.com/sshnet/SSH.NET/releases/tag/2016.0.0 + https://github.com/sshnet/SSH.NET/releases/tag/2016.1.0-beta1 A Secure Shell (SSH) library for .NET, optimized for parallelism. 2012-2016, RENCI en-US diff --git a/src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs b/src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs index 57f1d586..c8780036 100644 --- a/src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs +++ b/src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs @@ -1,14 +1,12 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.InteropServices; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Renci.SshNet.Channels; using Renci.SshNet.Common; using Renci.SshNet.Sftp; -using Renci.SshNet.Sftp.Responses; namespace Renci.SshNet.Tests.Classes.Sftp { diff --git a/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs b/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs index 2f23393b..9d29d05b 100644 --- a/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs +++ b/src/Renci.SshNet/Properties/CommonAssemblyInfo.cs @@ -9,9 +9,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("2016.1.9999")] -[assembly: AssemblyFileVersion("2016.1.9999")] -[assembly: AssemblyInformationalVersion("2016.1.9999-dev")] +[assembly: AssemblyVersion("2016.1.0")] +[assembly: AssemblyFileVersion("2016.1.0")] +[assembly: AssemblyInformationalVersion("2016.1.0-beta1")] [assembly: CLSCompliant(false)] // Setting ComVisible to false makes the types in this assembly not visible diff --git a/src/Renci.SshNet/Sftp/SftpSession.cs b/src/Renci.SshNet/Sftp/SftpSession.cs index 2caa4a8c..8a3c6773 100644 --- a/src/Renci.SshNet/Sftp/SftpSession.cs +++ b/src/Renci.SshNet/Sftp/SftpSession.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using System.Text; using System.Threading; using Renci.SshNet.Common; @@ -90,7 +89,7 @@ namespace Renci.SshNet.Sftp if (realPathFiles != null) { - canonizedPath = realPathFiles.First().Key; + canonizedPath = realPathFiles[0].Key; } if (!string.IsNullOrEmpty(canonizedPath)) @@ -114,7 +113,7 @@ namespace Renci.SshNet.Sftp if (realPathFiles != null) { - canonizedPath = realPathFiles.First().Key; + canonizedPath = realPathFiles[0].Key; } if (string.IsNullOrEmpty(canonizedPath)) @@ -158,7 +157,7 @@ namespace Renci.SshNet.Sftp } // Resolve current directory - WorkingDirectory = RequestRealPath(".").First().Key; + WorkingDirectory = RequestRealPath(".")[0].Key; } protected override void OnDataReceived(byte[] data)