diff --git a/Directory.Build.targets b/Directory.Build.targets
index 7ceecbc6..01237a21 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -30,4 +30,17 @@
$(Version).$(GITHUB_RUN_ID)
$(PackageVersion)+$(GITHUB_SHA)
+
+
+
+
+ %(Filename).g.cs
+ TextTemplatingFileGenerator
+
+
+ $([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)')).tt
+ True
+ True
+
+
\ No newline at end of file
diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.csproj b/src/ComputeSharp.Core/ComputeSharp.Core.csproj
index 4b1039be..5b41e119 100644
--- a/src/ComputeSharp.Core/ComputeSharp.Core.csproj
+++ b/src/ComputeSharp.Core/ComputeSharp.Core.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0;net6.0
@@ -20,24 +20,11 @@
-
+
-
-
-
- %(Filename).g.cs
- TextTemplatingFileGenerator
-
-
- $([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)')).tt
- True
- True
-
-
-
diff --git a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj
index fab27296..d80e2324 100644
--- a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj
+++ b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0;net6.0
bin\Release
@@ -16,23 +16,10 @@
-
+
-
-
- True
- True
- PixelShaderEffect.Properties.tt
-
-
-
-
- TextTemplatingFileGenerator
- PixelShaderEffect.Properties.g.cs
-
-
diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj
index 697726da..41ca4da3 100644
--- a/src/ComputeSharp/ComputeSharp.csproj
+++ b/src/ComputeSharp/ComputeSharp.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0;net6.0
bin\Release
@@ -14,14 +14,6 @@
-
-
- True
- True
- ReferenceTrackedTypes.tt
-
-
-
@@ -41,22 +33,11 @@
-
-
- TextTemplatingFileGenerator
- ReferenceTrackedTypes.g.cs
-
-
+
+
-
-
- True
- True
- ReferenceTrackedTypes.tt
-
-
diff --git a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj
index afa1f9b8..6ff62357 100644
--- a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj
+++ b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj
@@ -1,4 +1,4 @@
-
+
net472;netcoreapp3.1;net6.0
@@ -23,6 +23,11 @@
+
+
+
+
+
@@ -107,22 +112,4 @@
-
-
-
-
-
-
-
-
- %(Filename).g.cs
- TextTemplatingFileGenerator
-
-
- $([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)')).tt
- True
- True
-
-
-