Hi Martin, I did not even get to the point of running the app.
As soon as I change the WinSCPnet Reference Properties Embed Interop Types = true, it gives me; Interop type 'Session', 'FileTransferProgressEventArgs', 'OutputDataReceivedEventArgs', "Session Options', 'TransferOptions', 'TransferOptionsResult' cannot be embedded. Use the applicable interface instead.
Set the field to False, and the errors clear.
Note here that the WinSCPnet.dll is not a project resource. It is a reference and is added to the project from Tortoise SVN, so it never shows as a resource. That may be part of the issue.
Let me know what else you would like me to try if anything. I am thinking that I will just have to distribute the WinSCPnet.dll with the executable. The users that will be using this app I am developing will most likely have WinSCP installed.
Reply with quote