Skip to content

Commit 52a9f57

Browse files
Arlodotexemichael-hawker
authored andcommitted
Fixed an issue where MSBuild wouldn't be detected on some machines
1 parent 799882a commit 52a9f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProjectHeads/GenerateSingleSampleHeads.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Param (
2929
[switch]$UseDiagnostics = $false
3030
)
3131

32-
if ($Env:Path.Contains("MSBuild") -eq $false) {
32+
if ($Env:Path.ToLower().Contains("msbuild") -eq $false) {
3333
Write-Host
3434
Write-Host -ForegroundColor Red "Please run from a command window that has MSBuild.exe on the PATH"
3535
Write-Host

0 commit comments

Comments
 (0)