-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Import SwisPowerShell in PowerShell Core on Linux #239
Comments
Same error trying to import on MacOS, PowerShell v7.0.3 |
It's a known issue that the module has some dependencies on legacy .NET framework stuff that was never ported to ps6+ and to my knowledge never will. Not sure what the timeline looks like on getting the module past that, wouldn't be surprised if it doesn't happen until the relevant bits of code get totally written out of Orion. |
The blocking issue was a missing feature in the .NET Core version of WCF: dotnet/wcf#3. This did eventually get added, so it should be possible to make a fully functional, cross-platform version of SwisPowerShell. |
I'm willing to do early testing of this on my PowerShell 7 Linux and Windows deployments if that would prove helpful. It seems like we are on the correct track according to #250, and I'd like to help in any way possible. |
This is resolved by #271 and available in v3.0.0.309-beta. |
PS /> Import-Module -Name SwisPowerShell
Import-Module: Could not load type 'System.Management.Automation.PSSnapIn' from assembly 'System.Management.Automation, Version=7.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Originally posted by @miztroh-zz in #2 (comment)
The text was updated successfully, but these errors were encountered: