From bc378eab4430d826644f6c044bad772713172f1d Mon Sep 17 00:00:00 2001 From: andrewchaa Date: Fri, 1 May 2015 10:34:53 +0100 Subject: [PATCH] Set EnableNuGetPackageRestore true for the process, to enable nuget restore. Also update nuget.exe to the latest --- Build/build.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Build/build.ps1 b/Build/build.ps1 index e4c00000..a83c04d7 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -70,6 +70,8 @@ task Build -depends Clean { Write-Host Write-Host "Restoring" + [Environment]::SetEnvironmentVariable("EnableNuGetPackageRestore", "true", "Process") + exec { .\Tools\NuGet\NuGet.exe update -self } exec { .\Tools\NuGet\NuGet.exe restore ".\Src\$name.sln" | Out-Default } "Error restoring $name" Write-Host