Spaces:
Running
Running
File size: 3,023 Bytes
090629c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
<!--
***********************************************************************************************
NuGet.RestoreEx.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask TaskName="NuGet.Build.Tasks.RestoreTaskEx" AssemblyFile="$(RestoreTaskAssemblyFile)" />
<UsingTask TaskName="NuGet.Build.Tasks.GenerateRestoreGraphFileTask" AssemblyFile="$(RestoreTaskAssemblyFile)" />
<Target Name="Restore">
<!-- Restore using MSBuild's Static Graph Evaluation -->
<RestoreTaskEx
CleanupAssetsForUnsupportedProjects="$([MSBuild]::ValueOrDefault('$(RestoreCleanupAssetsForUnsupportedProjects)', 'true'))"
DisableParallel="$(RestoreDisableParallel)"
Force="$(RestoreForce)"
ForceEvaluate="$(RestoreForceEvaluate)"
HideWarningsAndErrors="$(HideWarningsAndErrors)"
IgnoreFailedSources="$(RestoreIgnoreFailedSources)"
Interactive="$([MSBuild]::ValueOrDefault('$(NuGetInteractive)', '$(MSBuildInteractive)'))"
MSBuildBinPath="$(MSBuildBinPath)"
NoCache="$(RestoreNoCache)"
NoHttpCache="$(RestoreNoHttpCache)"
ProjectFullPath="$(MSBuildProjectFullPath)"
Recursive="$([MSBuild]::ValueOrDefault('$(RestoreRecursive)', 'true'))"
RestorePackagesConfig="$(RestorePackagesConfig)"
SolutionPath="$(SolutionPath)"
ProcessFileName="$(NuGetConsoleProcessFileName)"
SerializeGlobalProperties="$(RestoreSerializeGlobalProperties)"
MSBuildStartupDirectory="$(MSBuildStartupDirectory)"
EmbedFilesInBinlog="$(RestoreEmbedFilesInBinlog)">
<Output TaskParameter="EmbedInBinlog" ItemName="EmbedInBinlog" />
</RestoreTaskEx>
</Target>
<!--
============================================================
GenerateRestoreGraphFile
Writes the output the dg spec generation by static graph restore.
============================================================
-->
<Target Name="GenerateRestoreGraphFile">
<Error Condition="$(RestoreGraphOutputPath) == ''" Text="Missing RestoreGraphOutputPath property!" />
<GenerateRestoreGraphFileTask
MSBuildBinPath="$(MSBuildBinPath)"
ProjectFullPath="$(MSBuildProjectFullPath)"
Recursive="$([MSBuild]::ValueOrDefault('$(RestoreRecursive)', 'true'))"
SolutionPath="$(SolutionPath)"
RestoreGraphOutputPath="$(RestoreGraphOutputPath)"
ProcessFileName="$(NuGetConsoleProcessFileName)"
MSBuildStartupDirectory="$(MSBuildStartupDirectory)"
/>
</Target>
</Project>
|