iainbrighton / PScribo

PowerShell documentation framework
MIT License
230 stars 35 forks source link

Image cmdlet fails using PowerShell 7 on Linux & MacOS platforms #113

Closed tpcarman closed 3 years ago

tpcarman commented 3 years ago

When running PScribo 0.9.1 Example31.ps1 with PowerShell 7 on a *nix platform (Linux/MacOS), script fails with the following errors. image

Running PScribo 0.9.1 Example31.ps1 with PowerShell 7 on a Windows platform, script completes successfully. image

tpcarman commented 3 years ago

I have found that the issues are due to the lack of .NET Core. Once installed, everything should work as expected.

Installing .NET Core for Mac - https://docs.microsoft.com/en-us/dotnet/core/install/macos Installing .NET Core for Linux - https://docs.microsoft.com/en-us/dotnet/core/install/linux