diff --git a/samples/AspireShop/AspireShop.AppHost/AspireShop.AppHost.csproj b/samples/AspireShop/AspireShop.AppHost/AspireShop.AppHost.csproj
index 32256c8c6..69a2ae3f4 100644
--- a/samples/AspireShop/AspireShop.AppHost/AspireShop.AppHost.csproj
+++ b/samples/AspireShop/AspireShop.AppHost/AspireShop.AppHost.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/samples/AspireWithAzureFunctions/ImageGallery.AppHost/ImageGallery.AppHost.csproj b/samples/AspireWithAzureFunctions/ImageGallery.AppHost/ImageGallery.AppHost.csproj
index 35cf3cb6f..215d58ffc 100644
--- a/samples/AspireWithAzureFunctions/ImageGallery.AppHost/ImageGallery.AppHost.csproj
+++ b/samples/AspireWithAzureFunctions/ImageGallery.AppHost/ImageGallery.AppHost.csproj
@@ -11,14 +11,14 @@
-
+
-
+
diff --git a/samples/AspireWithJavaScript/AspireJavaScript.AppHost/AspireJavaScript.AppHost.csproj b/samples/AspireWithJavaScript/AspireJavaScript.AppHost/AspireJavaScript.AppHost.csproj
index 53c653fde..dbfd3c9da 100644
--- a/samples/AspireWithJavaScript/AspireJavaScript.AppHost/AspireJavaScript.AppHost.csproj
+++ b/samples/AspireWithJavaScript/AspireJavaScript.AppHost/AspireJavaScript.AppHost.csproj
@@ -10,8 +10,8 @@
-
-
+
+
diff --git a/samples/AspireWithNode/AspireWithNode.AppHost/AspireWithNode.AppHost.csproj b/samples/AspireWithNode/AspireWithNode.AppHost/AspireWithNode.AppHost.csproj
index 155aae855..1d766b572 100644
--- a/samples/AspireWithNode/AspireWithNode.AppHost/AspireWithNode.AppHost.csproj
+++ b/samples/AspireWithNode/AspireWithNode.AppHost/AspireWithNode.AppHost.csproj
@@ -10,8 +10,8 @@
-
-
+
+
diff --git a/samples/AspireWithPython/AspireWithPython.AppHost/AspireWithPython.AppHost.csproj b/samples/AspireWithPython/AspireWithPython.AppHost/AspireWithPython.AppHost.csproj
index b15e7f8ae..6d67473a4 100644
--- a/samples/AspireWithPython/AspireWithPython.AppHost/AspireWithPython.AppHost.csproj
+++ b/samples/AspireWithPython/AspireWithPython.AppHost/AspireWithPython.AppHost.csproj
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/samples/ClientAppsIntegration/ClientAppsIntegration.AppHost/ClientAppsIntegration.AppHost.csproj b/samples/ClientAppsIntegration/ClientAppsIntegration.AppHost/ClientAppsIntegration.AppHost.csproj
index 382b5670f..22ecdcb8a 100644
--- a/samples/ClientAppsIntegration/ClientAppsIntegration.AppHost/ClientAppsIntegration.AppHost.csproj
+++ b/samples/ClientAppsIntegration/ClientAppsIntegration.AppHost/ClientAppsIntegration.AppHost.csproj
@@ -16,7 +16,7 @@
-
+
diff --git a/samples/ContainerBuild/ContainerBuild.AppHost/ContainerBuild.AppHost.csproj b/samples/ContainerBuild/ContainerBuild.AppHost/ContainerBuild.AppHost.csproj
index e77205756..22ebbd5bf 100644
--- a/samples/ContainerBuild/ContainerBuild.AppHost/ContainerBuild.AppHost.csproj
+++ b/samples/ContainerBuild/ContainerBuild.AppHost/ContainerBuild.AppHost.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/samples/CustomResources/CustomResources.AppHost/CustomResources.AppHost.csproj b/samples/CustomResources/CustomResources.AppHost/CustomResources.AppHost.csproj
index 61fc97d07..14f27cb2a 100644
--- a/samples/CustomResources/CustomResources.AppHost/CustomResources.AppHost.csproj
+++ b/samples/CustomResources/CustomResources.AppHost/CustomResources.AppHost.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/samples/DatabaseContainers/DatabaseContainers.AppHost/DatabaseContainers.AppHost.csproj b/samples/DatabaseContainers/DatabaseContainers.AppHost/DatabaseContainers.AppHost.csproj
index 0ea3f2771..5778b0f88 100644
--- a/samples/DatabaseContainers/DatabaseContainers.AppHost/DatabaseContainers.AppHost.csproj
+++ b/samples/DatabaseContainers/DatabaseContainers.AppHost/DatabaseContainers.AppHost.csproj
@@ -21,7 +21,7 @@
-
+
diff --git a/samples/DatabaseMigrations/DatabaseMigrations.AppHost/DatabaseMigrations.AppHost.csproj b/samples/DatabaseMigrations/DatabaseMigrations.AppHost/DatabaseMigrations.AppHost.csproj
index 8fef29b14..fb6d61fcb 100644
--- a/samples/DatabaseMigrations/DatabaseMigrations.AppHost/DatabaseMigrations.AppHost.csproj
+++ b/samples/DatabaseMigrations/DatabaseMigrations.AppHost/DatabaseMigrations.AppHost.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/samples/HealthChecksUI/HealthChecksUI.AppHost/HealthChecksUI.AppHost.csproj b/samples/HealthChecksUI/HealthChecksUI.AppHost/HealthChecksUI.AppHost.csproj
index c76bf5922..38a7ffe40 100644
--- a/samples/HealthChecksUI/HealthChecksUI.AppHost/HealthChecksUI.AppHost.csproj
+++ b/samples/HealthChecksUI/HealthChecksUI.AppHost/HealthChecksUI.AppHost.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/samples/Metrics/MetricsApp.AppHost/MetricsApp.AppHost.csproj b/samples/Metrics/MetricsApp.AppHost/MetricsApp.AppHost.csproj
index b25ec3c8a..792cd6220 100644
--- a/samples/Metrics/MetricsApp.AppHost/MetricsApp.AppHost.csproj
+++ b/samples/Metrics/MetricsApp.AppHost/MetricsApp.AppHost.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/samples/OrleansVoting/OrleansVoting.AppHost/OrleansVoting.AppHost.csproj b/samples/OrleansVoting/OrleansVoting.AppHost/OrleansVoting.AppHost.csproj
index f32f78322..c5840ccfe 100644
--- a/samples/OrleansVoting/OrleansVoting.AppHost/OrleansVoting.AppHost.csproj
+++ b/samples/OrleansVoting/OrleansVoting.AppHost/OrleansVoting.AppHost.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/samples/VolumeMount/VolumeMount.AppHost/VolumeMount.AppHost.csproj b/samples/VolumeMount/VolumeMount.AppHost/VolumeMount.AppHost.csproj
index 7099a9c87..4544ba8c5 100644
--- a/samples/VolumeMount/VolumeMount.AppHost/VolumeMount.AppHost.csproj
+++ b/samples/VolumeMount/VolumeMount.AppHost/VolumeMount.AppHost.csproj
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/tests/SamplesIntegrationTests/SamplesIntegrationTests.csproj b/tests/SamplesIntegrationTests/SamplesIntegrationTests.csproj
index 9343d628f..7d69427b6 100644
--- a/tests/SamplesIntegrationTests/SamplesIntegrationTests.csproj
+++ b/tests/SamplesIntegrationTests/SamplesIntegrationTests.csproj
@@ -10,11 +10,11 @@
-
-
-
-
-
+
+
+
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive