diff options
author | Matt Ellis <matell@microsoft.com> | 2015-10-22 23:11:28 +0300 |
---|---|---|
committer | Matt Ellis <matell@microsoft.com> | 2015-10-22 23:11:28 +0300 |
commit | 3ce6c29f66ef4f4b0f67c0f98e21d0d7d59deb23 (patch) | |
tree | 1bbe7847dfca6d4ca7716830f8d2fd17106b016c /build.proj | |
parent | 9749cf4f5ff8b1af10051e621cb75ee5be80ba3b (diff) |
Fix dnu restore in CI
In CI we have a long basename for the repo root, which was causing the
dnu restore command we generate to work around a dnu breaking change to
be longer than the maximum length in Windows.
Change our MSBuild logic for dnu restore to batch once per thing to
restore instead of trying to do everything at once.
Diffstat (limited to 'build.proj')
-rw-r--r-- | build.proj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.proj b/build.proj index 7ff925db89..f793855f2a 100644 --- a/build.proj +++ b/build.proj @@ -21,7 +21,7 @@ <Message Importance="High" Text="Restoring all packages..." /> <!-- restore all project.jsons in one pass for perf & to avoid concurrency problems with dnu --> <!-- include ToolsDir to restore test-runtime\project.json as well --> - <Exec Command="$(DnuRestoreCommand) $(DnuRestoreDirs)" StandardOutputImportance="Low" CustomErrorRegularExpression="(^Unable to locate .*)|(^Updating the invalid lock file with .*)" /> + <Exec Command="$(DnuRestoreCommand) "%(DnuRestoreDir.Identity)"" StandardOutputImportance="Low" CustomErrorRegularExpression="(^Unable to locate .*)|(^Updating the invalid lock file with .*)" /> <ItemGroup> <_allPackagesConfigs Include="$(MSBuildProjectDirectory)\src\**\packages.config"/> |