From ba6fd5b7c811787b177adcf8bb363883708b020a Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Wed, 12 Oct 2022 20:52:26 +0200 Subject: [PATCH] source-build: support building runtime using non-portable runtime packages. (#75597) * source-build: support building runtime using non-portable runtime packages. Currently source-build performs a 'runtime-portable' build that produces 'linux-{arch}' packages that are used when building target runtime (non-portable). With this change, we can use the non-portable packages that are produced by a previous (non-portable) 'runtime' build. This helps eliminate the 'runtime-portable' build. * Avoid references to Microsoft.AspNetCore.App.. * crossgen2: set RuntimeIdentifier explicitly. * PR feedback * Revert "crossgen2: set RuntimeIdentifier explicitly." This reverts commit 10be2744e624b833c43eecbf3f6f6896d415b7d7. * PR feedback. * Revert changes to ILCompiler.csproj. * Update Directory.Build.targets Co-authored-by: Viktor Hofer --- Directory.Build.targets | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Directory.Build.targets b/Directory.Build.targets index 541cdfb59f27f..ef9e5f5810c7f 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -12,6 +12,21 @@ + + + + $(PackageRID) + + + $(PackageRID) + + + + +