From c810eabd30ce6152a96e6f6922ec68216a2328dd Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Mon, 8 Apr 2024 19:50:01 -0700 Subject: [PATCH 1/2] Use Microsoft.DotNet.ILCompiler version from Version.props --- src/native/managed/native-library.props | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/native/managed/native-library.props b/src/native/managed/native-library.props index 89a80a8005a0d0..7acadfa32d4247 100644 --- a/src/native/managed/native-library.props +++ b/src/native/managed/native-library.props @@ -6,6 +6,7 @@ the same way as eng/native/functions.cmake strip_symbols --> false + true + + + + + From 484ed4ddd69be3c0a965f4e422885c5ff5ca0892 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Mon, 8 Apr 2024 19:50:30 -0700 Subject: [PATCH 2/2] Remove unnecessary publish - just need LinkNative --- src/native/managed/compile-native.proj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/native/managed/compile-native.proj b/src/native/managed/compile-native.proj index b9815ae30e488f..db46f0a1917431 100644 --- a/src/native/managed/compile-native.proj +++ b/src/native/managed/compile-native.proj @@ -1,4 +1,4 @@ - + Release @@ -58,6 +58,7 @@ + Targets="LinkNative" + Condition="$(SupportsNativeAotComponents)"/>