Help with Winscp.dll installation

Advertisement

sarathicse
Joined:
Posts:
4
Location:
Chennai, India

Help with Winscp.dll installation

I am trying the below C# example in Visual Studio

https://winscp.net/eng/docs/library_session_getfiles#example

But it gives me Error
The type or namespace name 'WinSCP' could not be found (are you missing a using directive or an assembly reference?) C:\Users\sarathik\Desktop\SFTP Test\SFTP Test WinSCP\SFTP Test WinSCP\Program.cs 4 7 SFTP Test WinSCP

I am using 5.1.7 WinSCP.
I downloaded the .NET component and extracted it in C:\Program Files (x86)\WinSCP folder
I used the following command for registering the component %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe WinSCP.dll /codebase /tlb
It registered.

But even still the program shows the namespace is not available.

What am i doing wrong here. Is there a way to verify if the dll is loaded correctly.

Should i need to copy it somewhere to get this working?
_________________
Thanks,
Sarathi.

Reply with quote

sarathicse
Joined:
Posts:
4
Location:
Chennai, India

Re: Help with Winscp.dll installation

prikryl,

I will check on this and will update the status.......
_________________
Thanks,
Sarathi.

Reply with quote

Advertisement

You can post new topics in this forum