Registering dll

Advertisement

spillar
Guest

Registering dll

I have downloaded the latest version of WinSCP, 5.0.8 (Build 2438) including the dll but am having problems creating a reference to the dll in Visual Studio version 7.1.30088, using .Net Framework version 1.1.4322.

I get the message "A reference to 'C:\Program Files\WinSCP\WinSCP.dll' could not be added. This is not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component."

Not sure where I am going wrong. Any sugestions would be much appreciated.

Reply with quote

spillar
Guest

Registering dll

Registering via the windows command window I get the following:

C:\>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe "C:\Program Files\W
inSCP\WinSCP.dll"
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.3053
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully

C:\>

That is, dll regsitered but Visual Studio can't find it?

Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Registering dll

I'll take a look. Though I'm afraid WinSCP .NET assembly wont with with .NET 1.1
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum