diff --git a/Directory.Packages.props b/Directory.Packages.props
index 25f974f..09a58eb 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -29,7 +29,6 @@
-
x64
@@ -11,7 +11,6 @@
$(NoWarn);CA1034
-
diff --git a/src/Repack.Tests/Microsoft.MSBuildCache.Repack.Tests.csproj b/src/Repack.Tests/Microsoft.MSBuildCache.Repack.Tests.csproj
index ed74e09..33fbef8 100644
--- a/src/Repack.Tests/Microsoft.MSBuildCache.Repack.Tests.csproj
+++ b/src/Repack.Tests/Microsoft.MSBuildCache.Repack.Tests.csproj
@@ -1,8 +1,8 @@
-
+
x64
- AnyCPU;x64
+ $(Platform)
net472;net8.0
Microsoft.MSBuildCache.Repack.Tests
@@ -11,7 +11,6 @@
$(NoWarn);CA1034
-