Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f5ba606

Browse files
committed
Including test-runtime in pre-resolved project.json's
1 parent 91aadd2 commit f5ba606

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.proj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
<Target Name="BatchRestorePackages">
2121
<Message Importance="High" Text="Restoring all packages..." />
2222
<!-- restore all project.jsons in one pass for perf & to avoid concurrency problems with dnu -->
23-
<Exec Command="$(DnuRestoreCommand) &quot;$(MSBuildProjectDirectory)\src&quot;" StandardOutputImportance="Low" CustomErrorRegularExpression="^Unable to locate .*" />
23+
<!-- include ToolsDir to restore test-runtime\project.json as well -->
24+
<Exec Command="$(DnuRestoreCommand) &quot;$(MSBuildProjectDirectory)\src&quot; &quot;$(ToolsDir)&quot;" StandardOutputImportance="Low" CustomErrorRegularExpression="^Unable to locate .*" />
2425

2526
<ItemGroup>
2627
<_allPackagesConfigs Include="$(MSBuildProjectDirectory)\src\**\packages.config"/>

0 commit comments

Comments
 (0)