diff options
author | Eric St. John <ericstj@microsoft.com> | 2015-10-21 03:03:29 +0300 |
---|---|---|
committer | Eric St. John <ericstj@microsoft.com> | 2015-10-21 03:03:29 +0300 |
commit | e945fa2b4e1d54ee68c92e8d027e99fc4b894448 (patch) | |
tree | 55abc79eaf91c256f45a9884bd9e08f8ebf659d3 /build.proj | |
parent | 5fcfafd1670155cb9418b9c4af07086714fd339a (diff) |
BUILD: Ensure that an invalid lock file will fail the build
DNX has an issue https://github.com/aspnet/dnx/issues/2771
where an invalid lock files will cause the entire repro to be updated
to the latest packages. I've fixed the invalid lock files, this adds
an error to block it from happening again.
[tfs-changeset: 1539937]
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 9a45c51348..7ff925db89 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 .*" /> + <Exec Command="$(DnuRestoreCommand) $(DnuRestoreDirs)" StandardOutputImportance="Low" CustomErrorRegularExpression="(^Unable to locate .*)|(^Updating the invalid lock file with .*)" /> <ItemGroup> <_allPackagesConfigs Include="$(MSBuildProjectDirectory)\src\**\packages.config"/> |