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

martin

Re: Assembly Setup and Registration Error

Is that VB.NET or plain VB?
From a reference to ASP.NET, I assume it's VB.NET. For VB.NET no registration is needed. But you have to reference the WinSCPnet.dll assembly in your project.
foundationboarder187

Assembly Setup and Registration Error

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\dbea534f\ec33b2e8\App_Web_iltq4dav.0.vb(36) : 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
The above is my error message.
I am trying to use WinSCP-X.X.X-Automation.zip
I have to install the assembly manually

See the assembly registration:

C:\>%WINDIR%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe "C:\program files\Win
scp\winscpnet.dll"
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.8007
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully

------------------------------

So what did I do wrong? Can someone help me out here? I really would like to use this tool.