From c05feb59156888cb9ca2325d43d4d4cafe471658 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Thu, 21 Jun 2018 21:14:02 +0200 Subject: [PATCH] Search for MSBuild 15 on community. This is where it's located on Appveyor. --- scripts/modules.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/modules.ps1 b/scripts/modules.ps1 index 0116e5fc8..f0430ddc4 100644 --- a/scripts/modules.ps1 +++ b/scripts/modules.ps1 @@ -99,8 +99,8 @@ New-Module -ScriptBlock { New-Module -ScriptBlock { function Find-MSBuild() { - if (Test-Path "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe") { - $msbuild = "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" + if (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\MSBuild.exe") { + $msbuild = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\MSBuild.exe" } elseif (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe") { $msbuild = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe"