markekraus / PSPublishHelper

A module to assist with "Build Once, Deploy Many" publishing paradigms for PowerShell
MIT License
12 stars 3 forks source link

Currently requires PowerShell 5.1 (should be documented in psd1?) #1

Closed Jaykul closed 5 years ago

Jaykul commented 5 years ago

When I try to run on PowerShell Core I get the error:

New-Object : Cannot find type [Microsoft.PowerShell.DesiredStateConfiguration.DscResourceInfo]: verify that the assembly containing this type is loaded.

markekraus commented 5 years ago

oof... good catch

markekraus commented 5 years ago

I added version gating. I want this to work on Core but it looks like DSC resource enumeration wont work on core so there is now a verbose output indicating DSC resrouce modules need to be build on windows PS .