mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user