diff --git a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
index a75d1dfd7..55f31d256 100644
--- a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
+++ b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
@@ -7,7 +7,7 @@
- $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)
+ $(NETCoreSdkRuntimeIdentifier)
win-x64;win-arm64;linux-x64;osx-arm64
false