From 337cb8b308755e403f5eb6b58ae820e44eff98be Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 1 May 2025 12:31:11 +0100 Subject: [PATCH] PS: Make it possible to run the build script from a command prompt that is running from %SYSTEMROOT%. See https://learn.microsoft.com/en-us/answers/questions/574694/msbuild-error-msb1009-project-file-does-not-exist --- powershell/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/build.ps1 b/powershell/build.ps1 index f529d84d475..ec7d03b3bfc 100644 --- a/powershell/build.ps1 +++ b/powershell/build.ps1 @@ -3,7 +3,7 @@ param ( ) $toolsWin64Folder = Join-Path (Join-Path (Join-Path $cliFolder "powershell") "tools") "win64" -dotnet publish (Join-Path "extractor" "powershell.sln") -o $toolsWin64Folder +dotnet publish (Join-Path "extractor" "powershell.sln" | Resolve-Path) -o $toolsWin64Folder if ($LASTEXITCODE -ne 0) { Write-Host "Build failed" exit 1