2016-07-01 18:02:26 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-02-22 18:52:50 +00:00
|
|
|
|
|
|
|
<PropertyGroup>
|
2017-02-27 19:06:44 +00:00
|
|
|
<FinalArchive>$(SdkOutputDirectory)/nuGetPackagesArchive.lzma</FinalArchive>
|
2018-01-06 03:25:07 +00:00
|
|
|
<NugetPackagesArchiveName>nuGetPackagesArchive-$(AspNetCoreVersion).lzma</NugetPackagesArchiveName>
|
2017-04-28 22:45:29 +00:00
|
|
|
<IntermediateArchive>$(IntermediateDirectory)/$(NugetPackagesArchiveName)</IntermediateArchive>
|
2018-02-16 16:57:06 +00:00
|
|
|
<NugetPackagesArchiveBlobUrl>$(AspNetCoreSharedFxRootUrl)$(AspNetCoreVersion)/$(NugetPackagesArchiveName)</NugetPackagesArchiveBlobUrl>
|
2017-02-22 18:52:50 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-11-08 23:14:47 +00:00
|
|
|
<Target Name="GetNuGetPackagesArchive"
|
|
|
|
Inputs="$(IntermediateArchive)"
|
2017-02-15 01:21:37 +00:00
|
|
|
Outputs="$(FinalArchive)"
|
|
|
|
Condition=" '$(IncludeNuGetPackageArchive)' == 'true' ">
|
2018-01-09 22:13:37 +00:00
|
|
|
<DownloadFile Uri="$(NugetPackagesArchiveBlobUrl)$(CoreSetupBlobAccessTokenParam)"
|
2016-11-08 23:14:47 +00:00
|
|
|
DestinationPath="$(IntermediateArchive)"
|
|
|
|
ContinueOnError="WarnAndContinue" />
|
|
|
|
|
2017-04-28 22:45:29 +00:00
|
|
|
<Copy SourceFiles="$(IntermediateArchive)" DestinationFiles="$(FinalArchive)" />
|
2016-06-29 21:10:55 +00:00
|
|
|
</Target>
|
2017-02-15 01:21:37 +00:00
|
|
|
</Project>
|