Try to locate dotnet before installing it (#5059)

This commit is contained in:
PetSerAl
2017-10-10 14:01:01 -07:00
committed by Travis Plunk
parent 42e8deb969
commit cd7ac4d436
+3
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