diff options
author | Justin Emgarten <justin@emgarten.com> | 2016-09-30 01:11:42 +0300 |
---|---|---|
committer | Justin Emgarten <justin@emgarten.com> | 2016-09-30 01:11:42 +0300 |
commit | 9dcc1af5894fe867d1a8c72baa4a9fb3bc7e6fe3 (patch) | |
tree | 7af4a702a59c800d6d331e8c661dae7c19d4e562 | |
parent | 6178842830bcee0aef4df4aebef0a141856937b4 (diff) |
Adding NuGet.targets import to ImportsAfter
-rw-r--r-- | src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets b/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets index 72ce25d..4d76c1a 100644 --- a/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets +++ b/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets @@ -14,4 +14,10 @@ Copyright (c) .NET Foundation. All rights reserved. <NuGetTargets Condition="'$(NuGetTargets)'==''">$(MSBuildExtensionsPath)\Microsoft\NuGet\Microsoft.NuGet.targets</NuGetTargets> </PropertyGroup> <Import Condition="Exists('$(NuGetTargets)')" Project="$(NuGetTargets)" /> + + <!-- Import NuGet.targets for Restore --> + <PropertyGroup> + <NuGetRestoreTargets Condition="'$(NuGetRestoreTargets)'==''">$(MSBuildExtensionsPath)\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets</NuGetRestoreTargets> + </PropertyGroup> + <Import Condition="Exists('$(NuGetRestoreTargets)')" Project="$(NuGetRestoreTargets)" /> </Project> |