Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

sarathicse

Re: Help with Winscp.dll installation

prikryl,

I will check on this and will update the status.......
sarathicse

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?