diff --git a/tests/AnalyzerTests/AnalyzerTests.csproj b/tests/AnalyzerTests/AnalyzerTests.csproj
index 50a901a454..c2f7d999e5 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 2a727d98b9..fc68422671 100644
--- a/tests/SnapshotTests/SnapshotTests.csproj
+++ b/tests/SnapshotTests/SnapshotTests.csproj
@@ -34,7 +34,7 @@
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive