Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

Guest

Re: WinSCP.exe does not match assembly version WinSCPnet.dll

Those files were in the same directory and my guess is, that the assembly was somehow running while I did the reinstallation? I have no idea.
I just gave up and did whole new installation that solved my problem. Both versions now align and PowerShell is working.
Thanks for replying anyway..

RS
martin

Re: WinSCP.exe does not match assembly version WinSCPnet.dll

We do not know your setup. And hiding the paths make it even more difficult for us to help.

My guess is, that you have separate copy of the .NET assembly along with your script, without a copy of winscp.exe. So the assembly falls back to using an installed copy of winscp.exe. In general, either use the assembly from WinSCP installation (so that it will always use the installed and compatible winscp.exe). Or make a copy of the same version of both the assembly and winscp.exe along your script.
RaSe

WinSCP.exe does not match assembly version WinSCPnet.dll

Hi, after latest upgrade of WinSCP the PowerShell script stopped to work due to an error:
The version of C:\...\winscp.exe (6.3.7.0) does not match version of this assembly C:\...\WinSCPnet.dll (6.3.4.0)

How can I make those two versions align? Why it was not upgraded to the same version and why it actually bothers PowerShell?
Could anyone help with this? Or do I have to reinstall all..
Thanks,
RS