the type or namespace WinScp name could not be found
I downloaded winscp.dll and registered it with .net. See me command and the output copied below. When I try to use Winscp (using WinSCP;) in my c# code I get error: the type or namespace WinScp name could not be found
What Am I missing?
command used to register the assembly:
C:\Users\Dkaur>%WINDIR%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe "C:\Program Files (x86)\WinSCP\WinSCP.dll" /codebase /tlb
Ouput:
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.5420
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.
Types registered successfully
Assembly exported to 'C:\Program Files (x86)\WinSCP\WinSCP.tlb', and the type library was registered successfully