Assembly Setup and Registration Error

Advertisement

foundationboarder187
Joined:
Posts:
1
Location:
United States

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum