Skip to content

Commit ab87562

Browse files
authored
Revert adding dotnet_host_path workaround (#15328)
1 parent ef414bf commit ab87562

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

eng/build.ps1

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,8 @@ Param(
3434
[Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
3535
)
3636

37-
# Workaround for DOTNET_HOST_PATH not being set by older MSBuild
38-
if (-not $env:DOTNET_HOST_PATH) {
39-
$env:DOTNET_HOST_PATH = [System.IO.Path]::GetFullPath((Join-Path (Join-Path (Join-Path $PSScriptRoot '..') '.dotnet') 'dotnet'))
40-
if (-not (Test-Path $env:DOTNET_HOST_PATH)) {
41-
$env:DOTNET_HOST_PATH = "$($env:DOTNET_HOST_PATH).exe"
42-
}
43-
}
37+
# Add steps that need to happen before build here
4438

39+
40+
# Call the build script provided by Arcade
4541
& $PSScriptRoot/common/build.ps1 @PSBoundParameters

0 commit comments

Comments
 (0)