Version of Microsoft Windows: 7
Transfer protocol: SFTP, S3
Error message: "Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly '<project path>\WinSCPnet.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."
Steps that lead to the problem: After adding the WinSCPnet reference (dll from WinSCP-5.15.9-Automation.zip\netstandard2.0 directory) into the project, I tried to build the project.
Other notes: Upgrading to newer framework is not an option in this situation, so I need to make this work with .NET 2 or 3.5.
Using reflection I can see that the library I've used from the netstandard2.0 directory appears to target .NET 4 (see attachment).
Can this be rebuilt targeting the .NET 2.0 framework please?