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-08-30 22:05:09 +00:00
|
|
|
<!-- In the event of a non-anonymous storage account used for core-setup bits, support appending a SAS token to download files -->
|
|
|
|
<CoreSetupBlobAccessTokenParam Condition=" '$(CoreSetupBlobAccessToken)' != '' ">?$(CoreSetupBlobAccessToken)</CoreSetupBlobAccessTokenParam>
|
2017-02-27 19:06:44 +00:00
|
|
|
<FinalArchive>$(SdkOutputDirectory)/nuGetPackagesArchive.lzma</FinalArchive>
|
2017-05-04 04:44:39 +00:00
|
|
|
<NugetPackagesArchiveName>nuGetPackagesArchive.$(AspNetCoreRuntimePackageFlavor).lzma</NugetPackagesArchiveName>
|
2017-04-28 22:45:29 +00:00
|
|
|
<IntermediateArchive>$(IntermediateDirectory)/$(NugetPackagesArchiveName)</IntermediateArchive>
|
2017-08-30 22:05:09 +00:00
|
|
|
<NugetPackagesArchiveBlobUrl>$(AspNetCoreRuntimeInstallerBlobRootUrl)/$(NugetPackagesArchiveName)$(CoreSetupBlobAccessTokenParam)</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' ">
|
2016-11-08 23:14:47 +00:00
|
|
|
<DownloadFile Uri="$(NugetPackagesArchiveBlobUrl)"
|
|
|
|
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>
|