diff --git a/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj b/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj
index 4c77c07373..5192fa0e08 100644
--- a/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj
+++ b/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj
@@ -21,8 +21,8 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj b/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj
index ab639b5120..66ae43c3cd 100644
--- a/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj
+++ b/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj
@@ -13,7 +13,7 @@
-
+