Browse Source

Merge pull request #4442 from yatli/build-path-ps1

update build.ps1 to put downloaded dotnet in PATH
pull/4930/head
Max Katz 6 years ago
committed by GitHub
parent
commit
92b5d85a34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build.ps1

2
build.ps1

@ -62,6 +62,8 @@ else {
} else { } else {
ExecSafe { & $DotNetInstallFile -InstallDir $DotNetDirectory -Version $DotNetVersion -NoPath } ExecSafe { & $DotNetInstallFile -InstallDir $DotNetDirectory -Version $DotNetVersion -NoPath }
} }
$env:PATH="$DotNetDirectory;$env:PATH"
} }
Write-Output "Microsoft (R) .NET Core SDK version $(& $env:DOTNET_EXE --version)" Write-Output "Microsoft (R) .NET Core SDK version $(& $env:DOTNET_EXE --version)"

Loading…
Cancel
Save