I have a c # program. I want to set myself this thing here: link

I do everything according to the instructions: link

Libraries are connected

using Renci.SshNet; using Renci.SshNet.Common; using Renci.SshNet.Sftp; 

But during the collation, they are drawn with a blue, wavy line and this error is issued:

Error 1 The name "Renci" could not be found? Z: \ RF \ Programs for> Terminals \ TRF (FTP download) \ TRF \ MainForm.cs 5 7 TRF

And in SolutionExplorer > Renci.SshNet > Reference there is a Microsoft.CSharp element, it has a yellow triangle, and when you try to open it, the following is issued:

This is not a project. Please ensure that the project is available and build.

What should I do?

    1 answer 1

    This instruction explains how to build a debugging copy of the library - in order to edit or add something in it. You, apparently, are not going to finish it, just want to use from your code. Delete the source project from Solution Explorer. And put the binaries:

    The SSH.NET package is in NuGet .

    Menu -> View -> Other Windows -> Package Manager Console.

    Select the project to which you want to connect SSH.NET in the dropdown and execute:

     Install-Package SSH.NET -Pre 

    If you really want to put manually:

    Download from the page of the latest release zip, on which binaries is written (for 3.5 or for 4, whichever version you have). Unpack it and connect to your project (via Solution Explorer / Add Reference / Browse).

    • Thank you very much) It helped a lot) - Roman