From 999b97039ce6f262d65d52746786e4e135cccb72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 26 Feb 2024 18:58:35 +0100 Subject: [PATCH] Only reference FreeBSD RIDs when targetting FreeBSD Since they're not built as part of the official build and aren't on the nuget feeds we won't find the runtime and apphost packs so only include them when targetting FreeBSD. Fixes https://github.com/dotnet/installer/issues/18768 --- src/coreclr/tools/aot/ILCompiler/repro/repro.csproj | 4 +++- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/coreclr/tools/aot/ILCompiler/repro/repro.csproj b/src/coreclr/tools/aot/ILCompiler/repro/repro.csproj index 09e2a5bec4c8d4..f7aa4cc8b93fd8 100644 --- a/src/coreclr/tools/aot/ILCompiler/repro/repro.csproj +++ b/src/coreclr/tools/aot/ILCompiler/repro/repro.csproj @@ -6,7 +6,9 @@ AnyCPU false false - linux-x64;win-x64;osx-x64;freebsd-x64;freebsd-arm64 + linux-x64;win-x64;osx-x64 + + $(RuntimeIdentifiers);freebsd-x64;freebsd-arm64 Debug;Release;Checked true false diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 337a0ce1ebee36..c79f63b6249e8c 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -12,7 +12,9 @@ dotnet-crossgen2 crossgen2 - linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;freebsd-arm64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64 + linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64 + + $(RuntimeIdentifiers);freebsd-x64;freebsd-arm64 false tools/ true