winscp.exe (5.17.7.0) does not match version of this assembly

Advertisement

Gaz2600
Joined:
Posts:
2

winscp.exe (5.17.7.0) does not match version of this assembly

Hello I am getting an error when using the powershell module.
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
How do I update the .dll to match the .exe?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,052
Location:
Prague, Czechia

Re: winscp.exe (5.17.7.0) does not match version of this assembly

How did you deploy the binaries? What "module" is that? We do not have any official WinSCP PowerShell module.

Reply with quote

martin
Site Admin
martin avatar

Re: winscp.exe (5.17.7.0) does not match version of this assembly

So please ask @tomohulk. This is not an official WinSCP module.

Reply with quote

Advertisement

You can post new topics in this forum