The version of exe does not match version of this assembly
Exception message:
Stack trace:The version of C:\Program Files (x86)\WinSCP\5.17.3.0\WinSCP.exe () does not match version of this assembly F:\MyTask\WinSCPnet.DLL (5.17.3.0).
It looks like assembly cannot detect the version of executable fileWinSCP.ExeSessionProcess.CheckVersion(String exePath, FileVersionInfo assemblyVersion):260
WinSCP.ExeSessionProcess..ctor(Session session, Boolean useXmlLog, String additionalArguments):151
WinSCP.Session.Open(SessionOptions sessionOptions):944
MyTask.Core.FtpClient.get_Session():188
I've checked both files (exe and dll) and the version for both is 5.17.3.0
I have lots of apps that can work with this exe file at the same time
This error occurs randomly