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)"/> 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 + + + + +