Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<DotNetRuntimeArchive>$(BaseIntermediateOutputPath)$(DotNetRuntimeArchiveFileName)</DotNetRuntimeArchive>
</PropertyGroup>

<Target Name="_DownloadAndExtractDotNetRuntime" Condition="'$(DotNetBuild)' != 'true'" Returns="$(DotNetRuntimeArchive)">
<Target Name="_DownloadAndExtractDotNetRuntime" Returns="$(DotNetRuntimeArchive)">
<ItemGroup>
<UrisToDownload Include="@(RemoteAssetBaseURL->'%(Identity)$(DotNetRuntimeDownloadPath)')" />
</ItemGroup>
Expand All @@ -51,10 +51,10 @@
<MakeDir Directories="$(OutputPath)" />

<!-- Extract the dotnet-runtime archive -->
<Exec Condition="'$(ArchiveFormat)' == 'tar.gz' and '$(DotNetBuild)' != 'true'"
<Exec Condition="'$(ArchiveFormat)' == 'tar.gz'"
Command="tar -xzf $(DotNetRuntimeArchive) -C $(OutputPath)" />

<Unzip Condition="'$(ArchiveFormat)' == 'zip' and '$(DotNetBuild)' != 'true'"
<Unzip Condition="'$(ArchiveFormat)' == 'zip'"
SourceFiles="$(DotNetRuntimeArchive)"
DestinationFolder="$(OutputPath)"
OverwriteReadOnlyFiles="true" />
Expand Down
6 changes: 3 additions & 3 deletions src/Framework/App.Runtime/src/aspnetcore-runtime.proj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<DotNetRuntimeArchive>$(BaseIntermediateOutputPath)$(DotNetRuntimeArchiveFileName)</DotNetRuntimeArchive>
</PropertyGroup>

<Target Name="_DownloadAndExtractDotNetRuntime" Condition="'$(DotNetBuild)' != 'true'" Returns="$(DotNetRuntimeArchive)">
<Target Name="_DownloadAndExtractDotNetRuntime" Returns="$(DotNetRuntimeArchive)">
<ItemGroup>
<UrisToDownload Include="@(RemoteAssetBaseURL->'%(Identity)$(DotNetRuntimeDownloadPath)')" />
</ItemGroup>
Expand All @@ -54,10 +54,10 @@
<MakeDir Directories="$(OutputPath)" />

<!-- Extract the dotnet-runtime archive -->
<Exec Condition="'$(ArchiveFormat)' == 'tar.gz' and '$(DotNetBuild)' != 'true'"
<Exec Condition="'$(ArchiveFormat)' == 'tar.gz'"
Command="tar -xzf $(DotNetRuntimeArchive) -C $(OutputPath)" />

<Unzip Condition="'$(ArchiveFormat)' == 'zip' and '$(DotNetBuild)' != 'true'"
<Unzip Condition="'$(ArchiveFormat)' == 'zip'"
SourceFiles="$(DotNetRuntimeArchive)"
DestinationFolder="$(OutputPath)"
OverwriteReadOnlyFiles="true" />
Expand Down
Loading