No matter which framework version I use (tried with 3.5, 4 and 4.5).
I always get a message which says 'SSH.NET' already has a defined dependency on 'SshNet.Security.Cryptography'. But if I try to install 'SshNet.Security.Cryptography', I get another message which says it already has a defined dependency for 'System.IO', and so on...
I've tried through the nuget packet manager and the nuget command line as well.
Any clue on what's happening? Regards
From Visual Studio, select Tools > NuGet Package Manager > Package Manager Console. After the Package Manager Console pane opens, verify that the Default project drop-down list shows the project in which you want to install the package.
To find and install a NuGet package with Visual Studio, follow these steps: Load a project in Solution Explorer, and then select Project > Manage NuGet Packages. The NuGet Package Manager window opens. Select the Browse tab to display packages by popularity from the currently selected source (see Package sources).
SSH.NET is a Secure Shell (SSH-2) library for . NET, optimized for parallelism.
Install packages from your feed In Visual Studio, right-click on your project in the Solution Explorer, and then select Manage NuGet Packages.... Select Browse, and then select your feed from the Package source dropdown menu. Use the search bar to look for packages from your feed.
according to https://github.com/sshnet/SSH.NET/issues/82
Seems like I can just download the NuGet package directly from https://www.nuget.org/packages/SSH.NET/ by clicking on "Download" (of course).
Then, extract the package and pick the dll I need according to the .NET framework version I'm using.
Thanks to everyone! :)
I had a similar problem in VS 2013. I upgraded the NuGet Package Manager to version 2.12 and was then able to install SSH.Net version 2016.1.0 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With