jborean93 / PowerShell-Yayaml

A YAML parser and writer that uses an Assembly Load Context on PowerShell 7+
MIT License
31 stars 2 forks source link

Support for Windows Powershell 5.1? #2

Closed AGregersen closed 1 year ago

AGregersen commented 1 year ago

Hi

Any chance for support for Windows Powershell 5.1?

Cheers, Anders

jborean93 commented 1 year ago

Unfortunately this library uses Assembly Load Contexts to achieve the assembly isolation of YamlDotNet. This feature is not present in .NET Framework that Windows PowerShell uses so I cannot achieve the same thing there.

jborean93 commented 11 months ago

While it cannot use the ALC logic to avoid assembly conflicts the PR https://github.com/jborean93/PowerShell-Yayaml/pull/13 has added support for Windows PowerShell 5.1. It’ll be present in the next release of this module that I’m planning for this week.