Skip to content

Commit

Permalink
Disable reusing nodes when building localization (#2268)
Browse files Browse the repository at this point in the history
Adds flag to msbuild to prevent it from keeping the build nodes active.
Keeping the nodes active makes them lock the assemblies that we built,
which in turn prevents the repository from being easily cleaned,
(e.g. by `git clean -Xfd`).
  • Loading branch information
nohwnd authored Dec 10, 2019
1 parent daf9b36 commit 3a92a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ function Update-LocalizedResources
}

$localizationProject = Join-Path $env:TP_PACKAGE_PROJ_DIR "Localize\Localize.proj"
Write-Verbose "& $dotnetExe msbuild $localizationProject -m -nologo -v:minimal -t:Localize -p:LocalizeResources=true"
& $dotnetExe msbuild $localizationProject -m -nologo -v:minimal -t:Localize -p:LocalizeResources=true
Write-Verbose "& $dotnetExe msbuild $localizationProject -m -nologo -v:minimal -t:Localize -p:LocalizeResources=true -nodeReuse:False"
& $dotnetExe msbuild $localizationProject -m -nologo -v:minimal -t:Localize -p:LocalizeResources=true -nodeReuse:False

Set-ScriptFailedOnError

Expand Down

0 comments on commit 3a92a40

Please sign in to comment.