Running WinSCP lib 22.214.171.12430. In Visual Basic, code works like a charm. Have winscpnet 126.96.36.19930 installed as "Browse". When I build program and run it from DOS, I get error. Full error is:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'WinSCPnet, Version=188.8.131.5230, Culture=neutral, PublicKeyToken=<xxxxxxxxxxxxxxxxxxx>' or one of its dependencies. The system cannot find the file specified. at Loop.Module1.Main(). I registered for COM as Framework and Framework64 and have a tlb file. WinSCPnet.dll is not blocked, that was checked. I don't know what else could possibly be going on. Any thoughts?