Closed Wardrop closed 4 years ago
I have the same issue. I am working around it by modifying the manifest to include netstandard2.0\winscpnet.dll.
I have this implemented, I need to overhaul my pester tests to get this build working again. Once I have that complete it will make its way to the powershell gallery, else you can download the code from the repo if you'd like it sooner.
thanks.
The WinSCP module currently can't be used with PowerShell 7 as it's bundled with WinSCPnet.dll built for .NET Standard. I'm assuming powershell modules can be built to load different assemblies depending on the environment, if so, that would make for a relatively easy fix as WinSCPnet.dll for both .NET Framework and .NET Standard/Core could be bundled and loaded dynamically depending on the environment.