diff --git a/tests/NuGetLicense.Test/NuGetLicense.Test.csproj b/tests/NuGetLicense.Test/NuGetLicense.Test.csproj
index fe2cb39e..3586cfe3 100644
--- a/tests/NuGetLicense.Test/NuGetLicense.Test.csproj
+++ b/tests/NuGetLicense.Test/NuGetLicense.Test.csproj
@@ -23,7 +23,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tests/NuGetUtility.Test/NuGetUtility.Test.csproj b/tests/NuGetUtility.Test/NuGetUtility.Test.csproj
index 99cc66a9..9cce852e 100644
--- a/tests/NuGetUtility.Test/NuGetUtility.Test.csproj
+++ b/tests/NuGetUtility.Test/NuGetUtility.Test.csproj
@@ -23,7 +23,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive