From a22825a1ffcf07964c71f9b3f29d9472fd2a5b25 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Wed, 19 Jan 2022 07:47:28 -0600 Subject: [PATCH] Add runtime and aspnetcore patches to always build libs, app.ref and targetting packs (#13009) * Add runtime patch to build all packages during source-build * Add aspnetcore patch to always build App.Ref and targeting packs --- ...uild-App.Ref-and-the-targeting-packs.patch | 32 +++++++++++++++++ ...ld-all-packages-when-in-source-build.patch | 34 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 src/SourceBuild/tarball/patches/aspnetcore/0005-Always-build-App.Ref-and-the-targeting-packs.patch create mode 100644 src/SourceBuild/tarball/patches/runtime/0004-release-6.0-Build-all-packages-when-in-source-build.patch diff --git a/src/SourceBuild/tarball/patches/aspnetcore/0005-Always-build-App.Ref-and-the-targeting-packs.patch b/src/SourceBuild/tarball/patches/aspnetcore/0005-Always-build-App.Ref-and-the-targeting-packs.patch new file mode 100644 index 000000000..9cda48cd7 --- /dev/null +++ b/src/SourceBuild/tarball/patches/aspnetcore/0005-Always-build-App.Ref-and-the-targeting-packs.patch @@ -0,0 +1,32 @@ +From c5211f8557f2fb019416cf1f6c01142965270479 Mon Sep 17 00:00:00 2001 +From: Doug Bunting <6431421+dougbu@users.noreply.github.com> +Date: Sun, 16 Jan 2022 22:55:10 -0800 +Subject: [PATCH] Always build App.Ref and the targeting packs - set + `$(IsTargetingPackBuilding)` to `true` unconditionally - leave all _use_ of + `$(IsTargetingPackBuilding)` + +See https://github.com/dotnet/aspnetcore/issues/39471 for details and backporting. +--- + Directory.Build.props | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/Directory.Build.props b/Directory.Build.props +index e100d883e9..d71b308905 100644 +--- a/Directory.Build.props ++++ b/Directory.Build.props +@@ -138,11 +138,7 @@ + Microsoft.AspNetCore.App.Ref + aspnetcore-runtime + aspnetcore-targeting-pack +- +- +- false +- true ++ true + + ++ true + + $(XmlDocFileRoot)1033\$(AssemblyName).xml + true +@@ -279,7 +283,7 @@ + + + + +