diff --git a/eng/testing/tests.ioslike.targets b/eng/testing/tests.ioslike.targets
index 192e93689cbe6..18d7ebcdd3a19 100644
--- a/eng/testing/tests.ioslike.targets
+++ b/eng/testing/tests.ioslike.targets
@@ -62,21 +62,13 @@
-
-
-
-
-
-
-
+
+
+
+
+ Include="@(AppleAssembliesToBundle)" TargetDir="extraFiles\%(AppleAssembliesToBundle.RecursiveDir)" />
diff --git a/src/tests/build.proj b/src/tests/build.proj
index e20d07cf95012..b054938757add 100644
--- a/src/tests/build.proj
+++ b/src/tests/build.proj
@@ -274,6 +274,7 @@
+ $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)'))
$([System.IO.Path]::GetDirectoryName($([System.IO.Path]::GetDirectoryName($(_CMDDIR)))))
$([System.String]::Copy('$(_CMDDIR)').Replace("$(CMDDIR_Grandparent)/",""))
$([System.String]::Copy('$(CategoryWithSlash)').Replace('/','_'))