diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
index 6f672918b33e06..be1fbde77efc9d 100644
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
@@ -70,8 +70,8 @@
Text="Add a PackageReference for '$(_hostPackageName)' to allow cross-compilation for $(_targetArchitecture)" />
-
-
+
+
-
-
-
-
-
+
+
+
+
+
diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
index fbcadcc71b5977..afa1cc1a66b9fc 100644
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
@@ -126,26 +126,41 @@ The .NET Foundation licenses this file to you under the MIT license.
+
+ <_NETCoreAppFrameworkReference Include="@(ResolvedFrameworkReference)" Condition="'%(ResolvedFrameworkReference.RuntimePackName)' == 'Microsoft.NETCore.App.Runtime.NativeAOT.$(RuntimeIdentifier)'" />
+
+
$(IlcHostPackagePath)\tools\
$(RuntimePackagePath)\sdk\
- $(RuntimePackagePath)\framework\
- $(RuntimePackagePath)\framework\
+ $(RuntimePackagePath)\framework\
+ <_NETCoreAppRuntimePackPath>%(_NETCoreAppFrameworkReference.RuntimePackPath)/runtimes/$(RuntimeIdentifier)/
+ $(_NETCoreAppRuntimePackPath)\native\
+ $(RuntimePackagePath)\framework\
+ $(IlcFrameworkNativePath)
+ $(IlcSdkPath)
$(RuntimePackagePath)\mibc\
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+