diff --git a/tests/CompilerCliTest/CompilerCliTest.csproj b/tests/CompilerCliTest/CompilerCliTest.csproj
index 68eda271..c9e1777e 100644
--- a/tests/CompilerCliTest/CompilerCliTest.csproj
+++ b/tests/CompilerCliTest/CompilerCliTest.csproj
@@ -12,7 +12,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tests/CompilerTest/CompilerTest.csproj b/tests/CompilerTest/CompilerTest.csproj
index 71487eee..cdcc26bc 100644
--- a/tests/CompilerTest/CompilerTest.csproj
+++ b/tests/CompilerTest/CompilerTest.csproj
@@ -16,7 +16,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive