Batch tests now work with VS 2015

This commit is contained in:
MichaelGrafnetter 2016-02-07 08:51:57 +01:00
parent faa9517880
commit 801c1ea605
1 changed files with 2 additions and 2 deletions

View File

@ -378,11 +378,11 @@ function Get-VsCommonTools
.DESCRIPTION
Gets path to the current VS common tools.
Current list supports VS12, VS11 and VS10, you may need to add to this list
Current list supports VS14, VS12, VS11 and VS10, you may need to add to this list
to satisfy your needs.
#>
$VsCommonToolsPaths = @(@($env:VS120COMNTOOLS,$env:VS110COMNTOOLS,$env:VS100COMNTOOLS) | Where-Object {$_ -ne $null})
$VsCommonToolsPaths = @(@($env:VS140COMNTOOLS,$env:VS120COMNTOOLS,$env:VS110COMNTOOLS,$env:VS100COMNTOOLS) | Where-Object {$_ -ne $null})
if ($VsCommonToolsPaths.Count -ne 0) {$VsCommonToolsPaths[0]}
else {Write-Error "Unable to find Visual Studio Common Tool Path."}
}