You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Async library isn't compatible with later versions of SSH.NET (eg latest 2024.1.0), assumably due to missing/renamed methods.
eg
System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable1 Renci.SshNet.SftpClient.EndListDirectory(System.IAsyncResult)'. at Renci.SshNet.Async.SshNetExtensions.ListDirectoryAsync(SftpClient client, String path, Action1 listCallback, TaskFactory`1 factory, TaskCreationOptions creationOptions, TaskScheduler scheduler)
The text was updated successfully, but these errors were encountered:
@pjninnis I just discovered this issue also, and after some poking around I found that support for a lot of async stuff was added to the core SSH.Net library. I was able to get around this by getting rid of Renci.Ssh.Net.Async and using the native support in SSH.Net.
eg. var files = await sftpClient.ListDirectoryAsync("files", cancellationToken: token);
This Async library isn't compatible with later versions of SSH.NET (eg latest 2024.1.0), assumably due to missing/renamed methods.
eg
System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable
1 Renci.SshNet.SftpClient.EndListDirectory(System.IAsyncResult)'. at Renci.SshNet.Async.SshNetExtensions.ListDirectoryAsync(SftpClient client, String path, Action
1 listCallback, TaskFactory`1 factory, TaskCreationOptions creationOptions, TaskScheduler scheduler)The text was updated successfully, but these errors were encountered: