diff --git a/Directory.Build.targets b/Directory.Build.targets
new file mode 100644
index 00000000..ae395b8f
--- /dev/null
+++ b/Directory.Build.targets
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.csproj b/src/ComputeSharp.Core/ComputeSharp.Core.csproj
index c820d0b9..deb643c7 100644
--- a/src/ComputeSharp.Core/ComputeSharp.Core.csproj
+++ b/src/ComputeSharp.Core/ComputeSharp.Core.csproj
@@ -10,19 +10,19 @@
- false
- true
+ packages the dependencies directly alongside the main binary), and public dependencies when packing the main project.
+ Notably, when building the source generator for sample projects via ProjectReferences, we do not want the packages to be private.-->
+ false
+ true
- false
+ false
-
-
+
+