diff --git a/tests/AnalyzerTests/AnalyzerTests.csproj b/tests/AnalyzerTests/AnalyzerTests.csproj
index ea87819dbb..9c746ac77e 100644
--- a/tests/AnalyzerTests/AnalyzerTests.csproj
+++ b/tests/AnalyzerTests/AnalyzerTests.csproj
@@ -22,7 +22,7 @@
-
+
diff --git a/tests/SnapshotTests/SnapshotTests.csproj b/tests/SnapshotTests/SnapshotTests.csproj
index b1350645be..525b5592c6 100644
--- a/tests/SnapshotTests/SnapshotTests.csproj
+++ b/tests/SnapshotTests/SnapshotTests.csproj
@@ -38,7 +38,7 @@
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive