diff options
author | Andy Gerlicher <angerlic@microsoft.com> | 2017-10-24 21:26:59 +0300 |
---|---|---|
committer | Justin Emgarten <justin@emgarten.com> | 2017-10-30 21:09:50 +0300 |
commit | 1d8af3499f94a32c1d128a42faceade39c1f4337 (patch) | |
tree | b606435cc6f7cec286dac1daa010f109dd9aab95 | |
parent | 2c1d484fde94ad7f102f16dd57f3b06fd0402e5f (diff) |
Remove ImportAfter for NuGet.targets
* Stop relying on ImportAfter extension point to be included in
MSBuild.
* MSBuild to explicitly load NuGet.targets in the common targets.
-rw-r--r-- | src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets | 6 |
1 files changed, 0 insertions, 6 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 49fcee2..ec134d4 100644 --- a/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets +++ b/src/Microsoft.NuGet.Build.Tasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets @@ -14,10 +14,4 @@ Copyright (c) .NET Foundation. All rights reserved. <NuGetTargets Condition="'$(NuGetTargets)'==''">$(MSBuildExtensionsPath)\Microsoft\NuGet\$(VisualStudioVersion)\Microsoft.NuGet.targets</NuGetTargets> </PropertyGroup> <Import Condition="Exists('$(NuGetTargets)') and '$(SkipImportNuGetBuildTargets)' != 'true'" 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> |