diff --git a/crates/csharp/src/csproj.rs b/crates/csharp/src/csproj.rs
index 415472614..5a46a3c56 100644
--- a/crates/csharp/src/csproj.rs
+++ b/crates/csharp/src/csproj.rs
@@ -105,7 +105,8 @@ impl CSProjectLLVMBuilder {
                 r#"<?xml version="1.0" encoding="utf-8"?>
             <configuration>
                 <config>
-                    <add key="globalPackagesFolder" value=".packages" />
+                    <!-- Store the packages where they can be shared between tests -->
+                    <add key="globalPackagesFolder" value="../../.packages" />
                 </config>
                 <packageSources>
                 <!--To inherit the global NuGet package sources remove the <clear/> line below -->