Re: Error trying to register dll for COM
One user suggested that security block can cause this error:
https://winscp.net/forum/viewtopic.php?p=45185#45185
https://winscp.net/forum/viewtopic.php?p=45185#45185
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCP.dll /codebase /tlb
Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.
RegAsm : error RA0000 : Could not load file or assembly 'file:///C:\Program File
s (x86)\WinSCP\WinSCP.dll' or one of its dependencies. Operation is not supporte
d. (Exception from HRESULT: 0x80131515)