Skip to content

Commit 337cb8b

Browse files
committed
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
1 parent 3cca0a6 commit 337cb8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ param (
33
)
44

55
$toolsWin64Folder = Join-Path (Join-Path (Join-Path $cliFolder "powershell") "tools") "win64"
6-
dotnet publish (Join-Path "extractor" "powershell.sln") -o $toolsWin64Folder
6+
dotnet publish (Join-Path "extractor" "powershell.sln" | Resolve-Path) -o $toolsWin64Folder
77
if ($LASTEXITCODE -ne 0) {
88
Write-Host "Build failed"
99
exit 1

0 commit comments

Comments
 (0)