Skip to content

Commit

Permalink
Fix packaging script waiting for msbuild forever due to lingering ser…
Browse files Browse the repository at this point in the history
…ver processes. Add /nodeReuse:false argument to fix disable these processes.
  • Loading branch information
codereader committed Jan 14, 2020
1 parent 8c0b6b5 commit a6d5d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/compile_release_package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ else

if (-not $SkipBuild)
{
Start-Process "msbuild" -ArgumentList ("..\msvc\DarkRadiant.sln", "/p:configuration=release", "/t:rebuild", "/p:platform=$platform", "/maxcpucount:4") -NoNewWindow -Wait
Start-Process "msbuild" -ArgumentList ("..\msvc\DarkRadiant.sln", "/p:configuration=release", "/t:rebuild", "/p:platform=$platform", "/maxcpucount:4", "/nodeReuse:false") -NoNewWindow -Wait
}

# Copy files to portable files folder
Expand Down

0 comments on commit a6d5d7e

Please sign in to comment.