tomohulk / WinSCP

WinSCP PowerShell Wrapper Module
GNU General Public License v3.0
153 stars 30 forks source link

Add support for PowerShell 7 (.NET Core) #130

Closed Wardrop closed 4 years ago

Wardrop commented 4 years ago

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.

doyoucompute commented 4 years ago

I have the same issue. I am working around it by modifying the manifest to include netstandard2.0\winscpnet.dll.

tomohulk commented 4 years ago

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.