diff --git a/eng/Subsets.props b/eng/Subsets.props
index 4af6e90f9172be..9e35431728e24c 100644
--- a/eng/Subsets.props
+++ b/eng/Subsets.props
@@ -107,6 +107,7 @@
true
+ true
true
@@ -365,7 +366,7 @@
Test="true" Category="tools"/>
-
+
diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj
index 5ba72f0af24c20..62022ee542eabd 100644
--- a/src/coreclr/crossgen-corelib.proj
+++ b/src/coreclr/crossgen-corelib.proj
@@ -16,7 +16,7 @@
$(BuildArchitecture)
true
- false
+ false
false
true
diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj
index 49751adfb7ecc3..a631ef940cd4fd 100644
--- a/src/libraries/tests.proj
+++ b/src/libraries/tests.proj
@@ -329,6 +329,12 @@
+
+
+
+
+
+
diff --git a/src/tests/build.proj b/src/tests/build.proj
index 8a00ffa945fe0c..22881769879274 100644
--- a/src/tests/build.proj
+++ b/src/tests/build.proj
@@ -9,6 +9,7 @@
1
C#
$(OutputRid)
+ $(RestoreAdditionalProjectSources);$(ArtifactsPackagesDir)
@@ -435,6 +436,7 @@
<_ConfigurationProperties>/p:TargetOS=$(TargetOS) /p:TargetArchitecture=$(TargetArchitecture) /p:Configuration=$(Configuration) /p:CrossBuild=$(CrossBuild)
+ <_ConfigurationProperties Condition="$(TargetArchitecture) == 'loongarch64'">$(_ConfigurationProperties) /p:RestoreAdditionalProjectSources=$(ArtifactsPackagesDir)
"$(DotNetTool)" restore $(RestoreProj) $(PackageVersionArg) /p:SetTFMForRestore=true $(_ConfigurationProperties)
"$(DotNetTool)" restore -r $(__DistroRid) $(RestoreProj) $(PackageVersionArg) /p:SetTFMForRestore=true $(_ConfigurationProperties)