Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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)


Topic review


In the .NET assembly package there is a folder netstandard2.0 with another winscpnet.dll that does work. Case closed.

Thank you mr Prikryl for WinSCP!

PowerShell 7.0.1 and WinSCP 5.17.6

The generator only offers a commandline option?
Strange because I find a lot of posts with vanilla PowerShell code (that resembles VB.NET/C#).

If I use that vanilla code, at $session.Open($sessionOptions) VSCode throws :

Exception calling "Open" with "1" argument(s): "Method not found: 'Void System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef,
| System.Security.AccessControl.EventWaitHandleSecurity)'."

I researched this, I fed $session with an ExecutablePath as well as a DebugLogPath but to no avail.

Thx for any assistance.