From 6fa898a4e8a2614e42aa96cd7574b8de614dc0ec Mon Sep 17 00:00:00 2001 From: dantraMSFT Date: Tue, 5 Jul 2016 13:03:25 -0700 Subject: [PATCH] Comment out mc.exe search logic. - It's not currently not used - Search fails on clean systems that are setup exclusively using PowerShell's Full CLR setup instructions. --- build.psm1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.psm1 b/build.psm1 index d024322fe3..87dcb9ee28 100644 --- a/build.psm1 +++ b/build.psm1 @@ -97,11 +97,14 @@ function Start-PSBuild { $precheck = $precheck -and (precheck 'cmake' 'cmake not found. You can install it from https://chocolatey.org/packages/cmake.portable') Use-MSBuild + #mc.exe is Message Compiler for native resources + <# This current doesn't work reliably. Removing for now since mc.exe is not being used yet. $mcexe = Get-ChildItem "${env:ProgramFiles(x86)}\Microsoft SDKs\Windows\" -Recurse -Filter 'mc.exe' | ? {$_.FullName -match 'x64'} | select -First 1 | % {$_.FullName} if (-not $mcexe) { throw 'mc.exe not found. Install Microsoft Windows SDK.' } + #> # setup msbuild configuration if ($Configuration -eq 'Debug' -or $Configuration -eq 'Release')