Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
martin

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.
Gaz2600

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?