diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.targets b/src/ComputeSharp.Core/ComputeSharp.Core.targets
index a6e129ef..c67a4d3f 100644
--- a/src/ComputeSharp.Core/ComputeSharp.Core.targets
+++ b/src/ComputeSharp.Core/ComputeSharp.Core.targets
@@ -18,21 +18,20 @@
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check. -->
-
+
- @(CurrentCompilerAssemblyIdentity->'%(Version)')
- $(CurrentCompilerVersion.Split(';')[0])
+ @(ComputeSharpCoreCurrentCompilerAssemblyIdentity->'%(Version)')
- true
+ true
-
+
diff --git a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets
index 03b7aa52..5d93c4cf 100644
--- a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets
+++ b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets
@@ -18,28 +18,27 @@
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check. -->
-
+
- @(CurrentCompilerAssemblyIdentity->'%(Version)')
- $(CurrentCompilerVersion.Split(';')[0])
+ @(ComputeSharpD2D1CurrentCompilerAssemblyIdentity->'%(Version)')
- true
+ true
-
+
-
+
diff --git a/src/ComputeSharp.Pix/ComputeSharp.Pix.targets b/src/ComputeSharp.Pix/ComputeSharp.Pix.targets
index 73e4e365..311809be 100644
--- a/src/ComputeSharp.Pix/ComputeSharp.Pix.targets
+++ b/src/ComputeSharp.Pix/ComputeSharp.Pix.targets
@@ -7,44 +7,44 @@
- winpixeventruntime.1.0.220124001
+ winpixeventruntime.1.0.220124001
- false
- true
+ false
+ true
- false
- true
+ false
+ true
-
-
+
-
-
+
-
-
+
-
-
+
diff --git a/src/ComputeSharp/ComputeSharp.targets b/src/ComputeSharp/ComputeSharp.targets
index 8e20554b..e2fa4629 100644
--- a/src/ComputeSharp/ComputeSharp.targets
+++ b/src/ComputeSharp/ComputeSharp.targets
@@ -18,28 +18,27 @@
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check. -->
-
+
- @(CurrentCompilerAssemblyIdentity->'%(Version)')
- $(CurrentCompilerVersion.Split(';')[0])
+ @(ComputeSharpCurrentCompilerAssemblyIdentity->'%(Version)')
- true
+ true
-
+
-
+