.NET assembly - macOS support

Advertisement

m_jumpi
Joined:
Posts:
1

.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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: .NET assembly - macOS support

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

Reply with quote

Advertisement

You can post new topics in this forum