winscp.exe (5.17.7.0) does not match version of this assembly
Hello I am getting an error when using the powershell module.
How do I update the .dll to match the .exe?New-WinSCPSession : Exception calling "Open" with "1" argument(s): "The version of C:\Program Files\WindowsPowerShell\Modules\WinSCP\WinSCP-master\WinSCP\Public\..\bin\winscp.exe (5.17.7.0)
does not match version of this assembly C:\Program Files\WindowsPowerShell\Modules\WinSCP\5.17.5.3\lib\WinSCPNet.dll (5.17.5.0)."
At line:16 char:12
+ $Session = New-WinSCPSession -SessionOption $SessionOptions
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-WinSCPSession], MethodInvocationException
+ FullyQualifiedErrorId : SessionLocalException,New-WinSCPSession