diff --git a/tests/AnalyzerTests/AnalyzerTests.csproj b/tests/AnalyzerTests/AnalyzerTests.csproj
index d85788f871..53b34bb6a7 100644
--- a/tests/AnalyzerTests/AnalyzerTests.csproj
+++ b/tests/AnalyzerTests/AnalyzerTests.csproj
@@ -9,6 +9,8 @@
+
+
all
diff --git a/tests/Shared/Shared.csproj b/tests/Shared/Shared.csproj
index 1034ea80d1..6791c83c48 100644
--- a/tests/Shared/Shared.csproj
+++ b/tests/Shared/Shared.csproj
@@ -10,6 +10,8 @@
+
+
diff --git a/tests/SnapshotTests/SnapshotTests.csproj b/tests/SnapshotTests/SnapshotTests.csproj
index a1bce54b29..4339517ac3 100644
--- a/tests/SnapshotTests/SnapshotTests.csproj
+++ b/tests/SnapshotTests/SnapshotTests.csproj
@@ -22,6 +22,8 @@
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive