From 87106707d6339cbd82f3d7e15bbc181c5b898854 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Fri, 14 Jun 2019 11:50:34 -0700 Subject: [PATCH] Always produce a .zip and .tar.gz for the targeting pack (#11230) --- docs/BuildFromSource.md | 2 +- .../ref/Microsoft.AspNetCore.App.Ref.csproj | 21 +++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index 1d8850adc5..8c15063761 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -11,7 +11,7 @@ See https://github.com/aspnet/AspNetCore/labels/area-infrastructure for known is Building ASP.NET Core on Windows requires: -* Windows 10 +* Windows 10, version 1803 or newer * At least 10 GB of disk space and a good internet connection (our build scripts download a lot of tools and dependencies) * Visual Studio 2019. * To install the exact required components, run [eng/scripts/InstallVisualStudio.ps1](/eng/scripts/InstallVisualStudio.ps1). diff --git a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj index c5343e1c56..6e2ca3f924 100644 --- a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj +++ b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj @@ -56,9 +56,9 @@ This package is an internal implementation of the .NET Core SDK and is not meant $(TargetingPackLayoutRoot)$(TargetingPackSubPath) $(LocalDotNetRoot)$(TargetingPackSubPath) - aspnetcore-targeting-pack-$(PackageVersion).zip - aspnetcore-targeting-pack-$(PackageVersion).tar.gz - $(InstallersOutputPath)$(ArchiveOutputFileName) + aspnetcore-targeting-pack-$(PackageVersion) + $(InstallersOutputPath)$(ArchiveOutputFileName).zip + $(InstallersOutputPath)$(ArchiveOutputFileName).tar.gz @@ -161,18 +161,17 @@ This package is an internal implementation of the .NET Core SDK and is not meant + DestinationFile="$(ZipArchiveOutputPath)" + Overwrite="true" /> + - + Command="tar -czf $(TarArchiveOutputPath) ." + WorkingDirectory="$(TargetingPackLayoutRoot)" /> +