Error with Imports WinSCP
I have a stand alone vb code I am writing and when I compile I get this error:
c:\vbcode\nowval.vb(9) : warning BC40056: Namespace or type specified in the Imports 'WinSCP' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Imports WinSCP
~~~~~~
Even though I have done this:
C:\WINDOWS\Microsoft.NET\Framework\v3.5>RegAsm.exe WinSCP.dll /codebase /tlb
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.3053
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.
Types registered successfully
Assembly exported to 'C:\WINDOWS\Microsoft.NET\Framework\v3.5\WinSCP.tlb', and t
he type library was registered successfully
C:\WINDOWS\Microsoft.NET\Framework\v3.5>
c:\vbcode\nowval.vb(9) : warning BC40056: Namespace or type specified in the Imports 'WinSCP' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Imports WinSCP
~~~~~~
Even though I have done this:
C:\WINDOWS\Microsoft.NET\Framework\v3.5>RegAsm.exe WinSCP.dll /codebase /tlb
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.3053
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.
Types registered successfully
Assembly exported to 'C:\WINDOWS\Microsoft.NET\Framework\v3.5\WinSCP.tlb', and t
he type library was registered successfully
C:\WINDOWS\Microsoft.NET\Framework\v3.5>