Skip to content

Commit bd85931

Browse files
committed
(build) use the dotnet installed on the host if possible - disabled for now
1 parent 1d98c39 commit bd85931

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ Function Add-PathVariable([string]$PathToAdd)
117117

118118
Function Install-Dotnet($DotNetVersion)
119119
{
120-
if (!(Check-DotnetInstalled $DotNetVersion))
121-
{
120+
#if (!(Check-DotnetInstalled $DotNetVersion))
121+
#{
122122
if ($IsMacOS -or $IsLinux) {
123123
$ScriptPath = Join-Path $InstallPath 'dotnet-install.sh'
124124
if (!(Test-Path $ScriptPath)) {
@@ -135,7 +135,7 @@ Function Install-Dotnet($DotNetVersion)
135135

136136
& $ScriptPath -Channel $DotNetChannel -Version $DotNetVersion -InstallDir $InstallPath;
137137
}
138-
}
138+
#}
139139
}
140140

141141
Function Check-DotnetInstalled($version)

0 commit comments

Comments
 (0)