Issue registering WinSCPnet.dll - "not a valid .net assembly"
Hi - I have an issue trying to register WinSCPnet.dll for use as COM, and am getting the error that it's not a valid .net assembly. I've checked that I'm calling it from the correct directory, and am associating it with v2.0.50727 .net which is installed on the machine (along with V3 and V3.5). The machine is Win server 2003 so I don't think I can install the V4+ versions of .net framework. I've installed the latest version of WinSCP, and have also tried swapping in the WinSCPnet.dll file in the netstandard2.0 directory of the Automation bundle (though I haven't installed the whole thing, I just did the default install of WinSCP from the download page), but it got the same error. I've also got server admin to try to register the file, but they got the same error, so I don't think access is an issue.
Does anyone have any further ideas of things I could try? I checked for an "unblock" button on the properties of the .dll as mentioned in other posts, but couldn't see one.
Many thanks!
Does anyone have any further ideas of things I could try? I checked for an "unblock" button on the properties of the .dll as mentioned in other posts, but couldn't see one.
Many thanks!