Try to locate dotnet before installing it (#5059)

This commit is contained in:
PetSerAl 2017-10-11 00:01:01 +03:00 committed by Travis Plunk
parent 42e8deb969
commit cd7ac4d436

View file

@ -1412,6 +1412,9 @@ function Start-PSBootstrap {
}
}
# Try to locate dotnet-SDK before installing it
Find-Dotnet
# Install dotnet-SDK
$dotNetExists = precheck 'dotnet' $null
$dotNetVersion = [string]::Empty