diff --git a/eng/targetingpacks.targets b/eng/targetingpacks.targets
index 0827423c4e75c..a6a6665527658 100644
--- a/eng/targetingpacks.targets
+++ b/eng/targetingpacks.targets
@@ -19,57 +19,69 @@
'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and
'$(TargetFrameworkVersion)' == 'v$(NetCoreAppCurrentVersion)'">
true
- $(UseLocalTargetingRuntimePack)
+
+
+
false
-
false
+
+ $(UseLocalTargetingRuntimePack)
+ false
+
+ $(UseLocalTargetingRuntimePack)
+ $(UseLocalTargetingRuntimePack)
+
+
-
+
+ Condition="'$(UseLocalTargetingRuntimePack)' == 'true' and '@(KnownFrameworkReference->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))' != 'true'" />
-
+ Condition="'$(UseLocalTargetingRuntimePack)' == 'true' and '@(KnownRuntimePack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)')->AnyHaveMetadataValue('RuntimePackLabels', 'Mono'))' != 'true'" />
+
-
-
-
+ Condition="'$(UseLocalILCompilerPack)' == 'true' and '@(KnownILCompilerPack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))' != 'true'" />
+
+ Condition="'$(UseLocalAppHostPack)' == 'true' and '@(KnownAppHostPack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))' != 'true'" />
@@ -100,40 +112,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+