Fix update-dependencies.ps1 and build scripts to no longer use restore --infer-runtimes.

Also, update-dependencies.ps1 doesn't use $PSScriptRoot everywhere.  Instead use $RepoRoot.
This commit is contained in:
Eric Erhardt 2016-05-25 22:04:26 -05:00
parent ee7372c2a1
commit a7fccf8508
5 changed files with 26 additions and 20 deletions

View file

@ -68,7 +68,7 @@ $env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
# Restore the build scripts
Write-Host "Restoring Build Script projects..."
pushd "$PSScriptRoot\.."
dotnet restore --infer-runtimes
dotnet restore
if($LASTEXITCODE -ne 0) { throw "Failed to restore" }
popd

View file

@ -102,7 +102,7 @@ fi
echo "Restoring Build Script projects..."
(
cd "$DIR/.."
dotnet restore --infer-runtimes
dotnet restore
)
# Build the builder