diff --git a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj
index 93ffea0a..93866d1d 100644
--- a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj
+++ b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj
@@ -98,31 +98,21 @@
-
-
- TextTemplatingFileGenerator
- Texture2DTests.Pixels.g.cs
-
-
- TextTemplatingFileGenerator
- Texture3DTests.Pixels.g.cs
-
-
-
+
+
-
+
+ %(Filename).g.cs
+ TextTemplatingFileGenerator
+
+
+ $([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)')).tt
True
True
- Texture2DTests.Pixels.tt
-
-
- True
- True
- Texture3DTests.Pixels.tt