File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -490,10 +490,19 @@ Fix steps:
490
490
}
491
491
492
492
# ARM is cross compiled, so we can't run pwsh to enumerate Experimental Features
493
- if ((Test-IsPreview $psVersion ) -and -not $Runtime.Contains (" arm" )) {
493
+ if ((Test-IsPreview $psVersion ) -and -not $Runtime.Contains (" arm" ) -and -not ( $Runtime -like ' fxdependent* ' ) ) {
494
494
$json = & $publishPath \pwsh - noprofile - command {
495
495
$expFeatures = [System.Collections.Generic.List [string ]]::new()
496
496
Get-ExperimentalFeature | ForEach-Object { $expFeatures.Add ($_.Name ) }
497
+
498
+ # Make sure ExperimentalFeatures from modules in PSHome are added
499
+ # https://github.com/PowerShell/PowerShell/issues/10550
500
+ @ (" PSDesiredStateConfiguration.InvokeDscResource" ) | ForEach-Object {
501
+ if (! $expFeatures.Contains ($_ )) {
502
+ $expFeatures.Add ($_ )
503
+ }
504
+ }
505
+
497
506
ConvertTo-Json $expFeatures.ToArray ()
498
507
}
499
508
You can’t perform that action at this time.
0 commit comments