Results 442 comments of Carlos Perez

the .net standard 2.0 files load no problems under PS version 5.1 ``` PS C:\Users\Carlos Perez> cd "C:\Users\Carlos Perez\Documents\GitHub\Posh-SSH\Posh-SSH" PS C:\Users\Carlos Perez\Documents\GitHub\Posh-SSH\Posh-SSH> add-type -Path .\microsoft.Bcl.AsyncInterfaces.dll PS C:\Users\Carlos Perez\Documents\GitHub\Posh-SSH\Posh-SSH> ```

``` $error[0].exception | fl * Message : Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. FileName : FusionLog : TargetSite : System.Reflection.Assembly LoadFromAssemblyPath(System.String) Data : {} InnerException :...

Tried it at startup, after loading SSH.NET, after importing the module. Seems to error when it is actually used. DLL is in the same directory ```PowerShell ╭─ pwsh  ~\Documents\GitHub\Posh-SSH\Posh-SSH...

I set on the project true to have it bundle all dependencies and still not working on PS7, it has to be some bug or something changed in PS. I...

Now I'm completely lost. I can load it by hand, it is in the CAG but it can not find it .. . ``` New-SSHSession: Could not load file or...

@Rob-Hague Thanks!! it worked now on both versions of PS, I will do more tests before I update my module

yep, with version 1.1.0 it worked in terms of loading and establishing a SSH connection. Version 8.0.0 loading was the version causing the problem in PS 7

I think this one is covering it https://github.com/sshnet/SSH.NET/pull/1288

You can use the latest available in the gallery, at the moment waiting to see when they will push a new nugget with the fixed version. If in a couple...

What special characters are in your case causing it to fail?