diff --git a/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj b/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj
index af3215c4f0..c41a2b303a 100644
--- a/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj
+++ b/src/tests/OpenApiGenerator.SnapshotTests/OpenApiGenerator.SnapshotTests.csproj
@@ -21,7 +21,7 @@
-
+
all
diff --git a/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj b/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj
index 8c9698f72d..44e7371591 100644
--- a/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj
+++ b/src/tests/OpenApiGenerator.UnitTests/OpenApiGenerator.UnitTests.csproj
@@ -13,7 +13,7 @@
-
+
@@ -32,7 +32,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+