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

Author Message


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\\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\\framework\v4.0.30319>


Thanks all Smile
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
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

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License