From cd7ac4d436fa33deddf27e667f3dec5e6e9b0180 Mon Sep 17 00:00:00 2001 From: PetSerAl Date: Wed, 11 Oct 2017 00:01:01 +0300 Subject: [PATCH] Try to locate dotnet before installing it (#5059) --- build.psm1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.psm1 b/build.psm1 index cc695d557..c89c4e019 100644 --- a/build.psm1 +++ b/build.psm1 @@ -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