Fix update-dependencies by slimming it way down.

It can no longer be dependent on Cli.Utils, since that will affect which version of NuGet gets used.  It's better for this small console app to just depend on VersionTools.
This commit is contained in:
Eric Erhardt 2017-05-11 10:15:05 -05:00
parent 928c510c84
commit f82fa91f58
5 changed files with 22 additions and 20 deletions

View file

@ -42,11 +42,6 @@ if($LASTEXITCODE -ne 0) { throw "Failed to install stage0" }
# Put the stage0 on the path
$env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
# Generate some props files that are imported by update-dependencies
Write-Host "Generating property files..."
dotnet msbuild $RepoRoot\build.proj /p:Architecture=$Architecture /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles
if($LASTEXITCODE -ne 0) { throw "Failed to generate intermidates" }
# Restore the app
Write-Host "Restoring $ProjectPath..."
dotnet restore "$ProjectPath"