From fd8cec2691342a96cad60254a2323f2b158be86e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jare=C5=A1?= Date: Mon, 24 Nov 2025 13:58:13 +0100 Subject: [PATCH] Revert adding dotnet_host_path workaround --- eng/build.ps1 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/eng/build.ps1 b/eng/build.ps1 index 06cecc7a53..3f17a9cf7d 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -34,12 +34,8 @@ Param( [Parameter(ValueFromRemainingArguments=$true)][String[]]$properties ) -# Workaround for DOTNET_HOST_PATH not being set by older MSBuild -if (-not $env:DOTNET_HOST_PATH) { - $env:DOTNET_HOST_PATH = [System.IO.Path]::GetFullPath((Join-Path (Join-Path (Join-Path $PSScriptRoot '..') '.dotnet') 'dotnet')) - if (-not (Test-Path $env:DOTNET_HOST_PATH)) { - $env:DOTNET_HOST_PATH = "$($env:DOTNET_HOST_PATH).exe" - } -} +# Add steps that need to happen before build here + +# Call the build script provided by Arcade & $PSScriptRoot/common/build.ps1 @PSBoundParameters \ No newline at end of file