Could not load file or assembly 'WinSCPnet ...
Running WinSCP lib 5.5.2.4130. In Visual Basic, code works like a charm. Have winscpnet 1.1.5.4130 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=1.1.5.4130, 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?
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'WinSCPnet, Version=1.1.5.4130, 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?