PowerBuild
PowerBuild copied to clipboard
cannot import module powerbuild
Using "C:\Program Files\PowerShell\6.0.0.17\powershell.exe"
Install-Module -Name PowerBuild -Scope CurrentUser
PS C:\Users\blah> $buildResults = Invoke-MSBuild -Project "C:\src\github_jm\moirai\tests\moirai_test.sln" -Target Build -Verbosity Minimal -DefaultLogger Host -Property @{Configuration="Debug"}
Invoke-MSBuild : The 'Invoke-MSBuild' command was found in the module 'PowerBuild', but the module could not be loaded. For more information, run
'Import-Module PowerBuild'.
PS C:\Users\johndoe> Import-Module PowerBuild
Import-Module : The following error occurred while loading the extended type data file: ,
C:\Users\johndoe\Documents\PowerShell\Modules\PowerBuild\0.4.1\PowerBuild.types.ps1xml(32) : Error in type "PowerBuild.ResultsByTarget": The "Type" node must
have "Members", "TypeConverters", or "TypeAdapters".
, C:\Users\johndoe\Documents\PowerShell\Modules\PowerBuild\0.4.1\PowerBuild.types.ps1xml(58) : Error: Unable to find type [PowerBuild.ResultsByTargetAdapter].
, C:\Users\johndoe\Documents\PowerShell\Modules\PowerBuild\0.4.1\PowerBuild.types.ps1xml(51) : Error: CodeProperty should use a getter or setter method.
PowerShell 6.0 is currently not supported. I'll probably start looking into this once we get closer to release. But definitely not later than RC becomes available.