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

Advertisement

DaveH
Guest

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

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 :)

Reply with quote

Advertisement

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

Re: Can't register WinSCPnet.dll in 64-bit windows

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

Reply with quote

Advertisement

You can post new topics in this forum