diff --git a/tests/CompilerCliTest/CompilerCliTest.csproj b/tests/CompilerCliTest/CompilerCliTest.csproj
index 68eda271..7257b47c 100644
--- a/tests/CompilerCliTest/CompilerCliTest.csproj
+++ b/tests/CompilerCliTest/CompilerCliTest.csproj
@@ -11,7 +11,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tests/CompilerTest/CompilerTest.csproj b/tests/CompilerTest/CompilerTest.csproj
index 71487eee..62299b5c 100644
--- a/tests/CompilerTest/CompilerTest.csproj
+++ b/tests/CompilerTest/CompilerTest.csproj
@@ -15,7 +15,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive