diff options
author | Eric StJohn <ericstj@microsoft.com> | 2015-04-15 08:55:29 +0300 |
---|---|---|
committer | Eric StJohn <ericstj@microsoft.com> | 2015-04-15 22:47:31 +0300 |
commit | a1656ef6a015c1c382fa609c9f653320c228c1d8 (patch) | |
tree | 0a843ad83329384d6496ef0177256c1ba18e0299 /dir.targets | |
parent | 623478009de4ed8d6c73b1d3b9bcc0ff1686e09d (diff) |
Enable use of DNU for package restore
Nuget v3 no longer has nuget.exe, so we need to use dnu to enable transitive package restore from project.json.
Diffstat (limited to 'dir.targets')
-rw-r--r-- | dir.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.targets b/dir.targets index 6e3e4d4600..bdedbeeb0e 100644 --- a/dir.targets +++ b/dir.targets @@ -65,7 +65,7 @@ <Target Name="_RestoreBuildTools" Inputs="$(MSBuildThisFileDirectory)dir.props;$(SourceDir).nuget\packages.config" - Outputs="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll;$(NugetToolPath)"> + Outputs="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll;$(NugetToolPath);$(DnuToolPath)"> <Message Importance="High" Text="Restoring build tools..." /> <!-- Download latest nuget.exe --> @@ -89,7 +89,7 @@ these files otherwise we continually run this target over and over for every project until these files are cleaned (if the are ever cleaned). --> - <Touch Files="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll;$(NugetToolPath)" /> + <Touch Files="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll;$(NugetToolPath);$(DnuToolPath)" /> </Target> <!-- Provide default empty targets for BuildAndTest and Test which can be hooked onto or overridden as necessary --> |