Skip to content

System.MissingMethodException: Method not found: 'Void Renci.SshNet.SshClient..ctor(System.String, System.String, Renci.SshNet.PrivateKeyFile[])'. #25

@3ricj

Description

@3ricj

when trying to start remote debugging, I received the following error message:


Microsoft Visual Studio

Error

Cannot connect to ericj:192.168.0.5.:System.MissingMethodException: Method not found: 'Void Renci.SshNet.SshClient..ctor(System.String, System.String, Renci.SshNet.PrivateKeyFile[])'.

at VSRemoteDebugger.RemoteDebugCommand.Bash(String cmd)
at VSRemoteDebugger.RemoteDebugCommand.CheckConnWithRemote()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VSRemoteDebugger.RemoteDebugCommand.d__18.MoveNext()

OK

I've tried to install the ssh.net client into my project via Install-Package, but it still gives me this error. I can ssh in using the key (no pw) from a command prompt. So that's working, I'm not sure what else to check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions