Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Re: .NET assembly - macOS support

Great Information was very useful for me..
martin

Re: .NET assembly - macOS support

Indeed, WinSCP is Windows-only software. You cannot use it on Mac.
m_jumpi

.NET assembly - macOS support

Hello,

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 (5.15.5.0).

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