Topic "Could not load file or assembly 'WinSCPnet ..."

Author Message
rgaetan
[View user's profile]

Joined: 2014-03-25
Posts: 16
Location: Decatur, IL
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?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Is it plain old VB or VB.NET?
_________________
Martin Prikryl
rgaetan
[View user's profile]

Joined: 2014-03-25
Posts: 16
Location: Decatur, IL
This is Visual Basic Studio .NET 4
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
OK, do you have WinSCPnet.dll (version 1.1.5.4130 of WinSCP 5.5.2 release) in the same directory, where you application executable is?
rgaetan
[View user's profile]

Joined: 2014-03-25
Posts: 16
Location: Decatur, IL
A ha! That was it! I put it in the program files 86\winscp directory.
Guest




Exactly what directory are you talking about
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License