diff --git a/build.psm1 b/build.psm1 index ded6e6e00..ed1709f39 100644 --- a/build.psm1 +++ b/build.psm1 @@ -886,9 +886,9 @@ function Start-ResGen "Microsoft.PowerShell.Security", "System.Management.Automation") | % { $module = $_ - ls "$PSScriptRoot/src/$module/resources" | % { + Get-ChildItem "$PSScriptRoot/src/$module/resources" | % { $className = $_.Name.Replace('.resx', '') - $xml = [xml](cat -raw $_.FullName) + $xml = [xml](Get-Content -raw $_.FullName) $fileName = $className $namespace = '' diff --git a/src/windows-build b/src/windows-build index 9598137e1..4011f04c0 160000 --- a/src/windows-build +++ b/src/windows-build @@ -1 +1 @@ -Subproject commit 9598137e1ec976c23328880534a8f49bdce32cf0 +Subproject commit 4011f04c040c88441dd93ec53191e5540832ee21