From a175e01812d91382dbecd3561b0de305cec98e96 Mon Sep 17 00:00:00 2001 From: Vlad Brezae Date: Fri, 13 Feb 2026 22:58:01 +0200 Subject: [PATCH 1/3] Fix packs build with --dynamiccodecompiled false If dynamiccodecompiled is false then we enable the interpreter library. The packs build fails because we don't have manifest entries for the interpreter library. This commit adds these entries but only for desktop when dynamiccodecompiled is false, so that the manifest of the official builds is not changed. --- .../pkg/sfx/Microsoft.NETCore.App/Directory.Build.props | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props index 7c752b511514ae..7f865be61299d5 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props @@ -121,9 +121,9 @@ - - - + + + From b9efb1ebc852c222c32ea2193f33340089de3447 Mon Sep 17 00:00:00 2001 From: Vlad Brezae Date: Fri, 13 Feb 2026 23:00:38 +0200 Subject: [PATCH 2/3] Revert "Fix packs build with --dynamiccodecompiled false" This reverts commit a175e01812d91382dbecd3561b0de305cec98e96. --- .../pkg/sfx/Microsoft.NETCore.App/Directory.Build.props | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props index 7f865be61299d5..7c752b511514ae 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props @@ -121,9 +121,9 @@ - - - + + + From 33a9f6e46c4c4aa84e428891b390633651185c29 Mon Sep 17 00:00:00 2001 From: Vlad Brezae Date: Fri, 13 Feb 2026 23:03:12 +0200 Subject: [PATCH 3/3] Always enable static linking when dynamic code compiled feature is false --- src/coreclr/clrfeatures.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/coreclr/clrfeatures.cmake b/src/coreclr/clrfeatures.cmake index 1cd3d98ec74335..f8e32929136086 100644 --- a/src/coreclr/clrfeatures.cmake +++ b/src/coreclr/clrfeatures.cmake @@ -3,7 +3,9 @@ if (FEATURE_DYNAMIC_CODE_COMPILED) set(FEATURE_REJIT 1) endif() -if (CLR_CMAKE_TARGET_ARCH_WASM OR CLR_CMAKE_TARGET_IOS OR CLR_CMAKE_TARGET_TVOS OR CLR_CMAKE_TARGET_MACCATALYST) +# On desktop, if dynamic code compiled is false, we still enable static linking so we don't have to add platform manifest entries +# for interpreter library, which is required for the packs build +if (CLR_CMAKE_TARGET_ARCH_WASM OR CLR_CMAKE_TARGET_IOS OR CLR_CMAKE_TARGET_TVOS OR CLR_CMAKE_TARGET_MACCATALYST OR NOT FEATURE_DYNAMIC_CODE_COMPILED) set(FEATURE_STATICALLY_LINKED 1) endif()