diff --git a/test/LibDeflate.DangerousTests/LibDeflate.DangerousTests.csproj b/test/LibDeflate.DangerousTests/LibDeflate.DangerousTests.csproj
index c0837af..7fb0d87 100644
--- a/test/LibDeflate.DangerousTests/LibDeflate.DangerousTests.csproj
+++ b/test/LibDeflate.DangerousTests/LibDeflate.DangerousTests.csproj
@@ -4,12 +4,9 @@
net6.0;net7.0
false
+ latest
-
-
-
-
PreserveNewest
@@ -18,8 +15,8 @@
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/test/LibDeflate.Tests/LibDeflate.Tests.csproj b/test/LibDeflate.Tests/LibDeflate.Tests.csproj
index 5c6813f..80c11b0 100644
--- a/test/LibDeflate.Tests/LibDeflate.Tests.csproj
+++ b/test/LibDeflate.Tests/LibDeflate.Tests.csproj
@@ -1,5 +1,8 @@
+
+
+
net6.0;net7.0
@@ -9,8 +12,8 @@
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all