Post a reply

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)


Topic review


WinSCP Version 5.15.2 (Build 9590) Error Mismatched errors with WinSCPnet.dll

WinSCP Version 5.15.2 (Build 9590). When I run a powershell script and get to my
Add-Type -Path "C:\Program Files\WinSCP\WinSCPnet.dll" I get an Error: Could not load file or assembly 'file:///C::\Program Files\WinSCP\WinSCPnet.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. The WinSCPnet.dll is dated 5/29/2019.

When use a different WinSCPnet.dll dated 1/8/2019 the error changes to: Exception calling "Open" with "1" argument(s): "The version of C:\Program Files\WinSCP\winscp.exe ( does not match version of this assembly C:\Program Files\WinSCP\WinSCPnet.dll ("
How do I find the WinSCPnet.dll that works with winscp.exe (

Re: winscp.exe and winscpnet.dll have a mismatch

When do you get that error?
Guest winscp.exe and winscpnet.dll have a mismatch

I've downloaded and unpacked these two files together and get the following message when used:
winscp.exe ( does not match version of this assembly WinSCPnet.dll (