dotnet-installer/build/BundledToolset.props

22 lines
1 KiB
Text
Raw Normal View History

<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ToolsetCompressedFileName>dotnet-toolset-internal-$(ToolsetVersion).zip</ToolsetCompressedFileName>
</PropertyGroup>
<PropertyGroup>
<ToolsetRootUrl>$(CoreSetupBlobRootUrl)Toolset/$(ToolsetVersion)/</ToolsetRootUrl>
<ToolsetDownloadUrl>$(ToolsetRootUrl)$(ToolsetCompressedFileName)$(CoreSetupBlobAccessTokenParam)</ToolsetDownloadUrl>
<ToolsetDownloadDirectory>$(IntermediateDirectory)/toolsetDownload/$(ToolsetVersion)/</ToolsetDownloadDirectory>
<ToolsetArchive>$(ToolsetDownloadDirectory)$(ToolsetCompressedFileName)</ToolsetArchive>
</PropertyGroup>
<ItemGroup>
<_DownloadAndExtractItem Include="ToolsetArchive"
Condition="!Exists('$(ToolsetArchive)')">
<Url>$(ToolsetDownloadUrl)</Url>
<DownloadFileName>$(ToolsetArchive)</DownloadFileName>
<ExtractDestination>$(ToolsetPublishDirectory)</ExtractDestination>
</_DownloadAndExtractItem>
</ItemGroup>
</Project>