I'm trying to use WinSCP .NET assembly in Visual Studio for Mac.
When I try to open a session (session.Open(sessionOptions);) I get an exception 'WinSCP.SessionLocalException':
The version of .../winscp.exe () does not match version of this assembly .../WinSCPnet.dll (22.214.171.124).
When I try to disable version check (session.DisableVersionCheck = true;) I get a different exception 'System.DllNotFoundException':
kernel32 assembly:<unknown assembly> type:<unknown type> member:(null)
I'm quite new with this stuff, do I understand correctly WinSCP .NET assembly isn't supported in case of Visual Studio for Mac and it can only be used with Windows?
Is there any alternatives/workarounds for macOS?
Thank you in advanced