Topic "Can't register WinSCPnet.dll in 64-bit windows"

Author Message
DaveH

Guest


Tried several times, next step may be to try on a 32-bit machine to see whether it too doesn't like the "unknown option" - is this dll suitable for x86 / 32-bit only, or is there a work-around?

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

PS C:\windows\microsoft.net\framework\v4.0.30319> .\RegAsm \{program_files(x86)}\WinSCP\WinSCPnet.dll /codebase /tlb
Microsoft .NET Framework Assembly Registration Utility version 4.6.1055.0
for Microsoft .NET Framework version 4.6.1055.0
Copyright (C) Microsoft Corporation. All rights reserved.

RegAsm : error RA0000 : Unknown option: /encodedCommand
PS C:\windows\microsoft.net\framework\v4.0.30319>

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

Thanks all Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I'm not an expert in PowerShell, so I do not know what the syntax \{program_files(x86)} means. But your command does not work for me either.

If I use the path explicitly, it works:

.\RegAsm "C:\Program Files (x86)\WinSCP\WinSCPnet.dll" /codebase /tlb
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License