Avatar of patd1
patd1
Flag for United States of America asked on

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
Visual C++.NET

Avatar of undefined
Last Comment
patd1

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sarabande

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
patd1

ASKER
Thanks, will test later.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy