Skip to content

Commit 5ce687d

Browse files
committed
Turns out we actually do need the legacy NuGet restore
1 parent 1679340 commit 5ce687d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.proj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ of patent rights can be found in the PATENTS file in the same directory.
3434
<Import Project="$(MSBuildProjectDirectory)\tools\MSBuildTasks\MSBuild.Community.Tasks.Targets" />
3535

3636
<Target Name="RestorePackages" DependsOnTargets="Clean;UpdateVersion">
37+
<!-- NuGet packages for "legacy" projects (eg. React.Samples.Mvc4) -->
38+
<Exec
39+
WorkingDirectory="$(MSBuildProjectDirectory)"
40+
Command="tools\NuGet\nuget.exe restore $(SolutionFile)"
41+
/>
42+
<!-- NuGet packages for modern .csproj projects -->
3743
<Exec
3844
WorkingDirectory="$(MSBuildProjectDirectory)"
3945
Command="dotnet restore $(SolutionFile) /p:Version=$(VersionString)"

0 commit comments

Comments
 (0)