From d490def51b0056fa5d6121ba8593b5c0e78687f9 Mon Sep 17 00:00:00 2001 From: Karol Kaczmarek Date: Thu, 21 Jul 2016 11:07:45 -0700 Subject: [PATCH] Fixing mc.exe detection --- build.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.psm1 b/build.psm1 index dc356337c..85e66f5ef 100644 --- a/build.psm1 +++ b/build.psm1 @@ -119,9 +119,9 @@ function Start-PSBuild { Use-MSBuild #mc.exe is Message Compiler for native resources - $mcexe = Get-ChildItem "${env:ProgramFiles(x86)}\Microsoft SDKs\Windows\" -Recurse -Filter 'mc.exe' | ? {$_.FullName -match 'x64'} | select -First 1 | % {$_.FullName} + $mcexe = Get-ChildItem "${env:ProgramFiles(x86)}\Windows Kits\10\" -Recurse -Filter 'mc.exe' | ? {$_.FullName -match 'x64'} | select -First 1 | % {$_.FullName} if (-not $mcexe) { - throw 'mc.exe not found. Install Microsoft Windows SDK.' + throw 'mc.exe not found. Install Microsoft Windows 10 SDK from https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk' } $vcVarsPath = (Get-Item(Join-Path -Path "$env:VS140COMNTOOLS" -ChildPath '../../vc')).FullName