Topic "Using WinSCP from Visual Studio 2013"

Author Message
jcborland
[View user's profile]

Joined: 2014-07-04
Posts: 2
Location: Dromore, Co.Down
Hi,
I'm having problems using WinSCP within a C# project in Visual Studio 2013. The annoying thing is I have it working in another project.

I've copied the WinSCP.exe and WinSCPnet.dll into the obj/Debug folder of my project and I've added a reference to it in my project.

When I key in my "using WinSCP;" directive at the top of the program it shows me the "WinSCP" and all my errors disappear (I'm using some WinSCP methods and I've no errors on them either ) but when I build the project I get :

"The type or namespace name 'WinSCP' could not be found (are you missing a using directive or an assembly reference?)

I've compared this project the one that's working and they seem the same. I'm obviously missing something very simple but I'm stuck at the moment. Can anyone give me any guidance?

Regards,
Jim.
jcborland
[View user's profile]

Joined: 2014-07-04
Posts: 2
Location: Dromore, Co.Down
Ignore me I've walked away from it and come back and it's fine. I think I needed to save the solution before building.
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