diff --git a/tests/CompilerCliTest/CompilerCliTest.csproj b/tests/CompilerCliTest/CompilerCliTest.csproj
index 68eda271..509a27bd 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..b4a6c00f 100644
--- a/tests/CompilerTest/CompilerTest.csproj
+++ b/tests/CompilerTest/CompilerTest.csproj
@@ -15,7 +15,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive