diff --git a/dotnet/samples/MQTTv5/IotHubOnlySamples/SetupDevice/SetupDevice.csproj b/dotnet/samples/MQTTv5/IotHubOnlySamples/SetupDevice/SetupDevice.csproj
index 4da8dd67..2b5cba5c 100644
--- a/dotnet/samples/MQTTv5/IotHubOnlySamples/SetupDevice/SetupDevice.csproj
+++ b/dotnet/samples/MQTTv5/IotHubOnlySamples/SetupDevice/SetupDevice.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/dotnet/samples/MQTTv5/IotHubOnlySamples/TestDevice/TestDevice.csproj b/dotnet/samples/MQTTv5/IotHubOnlySamples/TestDevice/TestDevice.csproj
index 2025bd0c..33f7ee64 100644
--- a/dotnet/samples/MQTTv5/IotHubOnlySamples/TestDevice/TestDevice.csproj
+++ b/dotnet/samples/MQTTv5/IotHubOnlySamples/TestDevice/TestDevice.csproj
@@ -8,10 +8,10 @@
-
-
-
-
+
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/dotnet/samples/SetupSampleDevice/SetupSampleDevice.csproj b/dotnet/samples/SetupSampleDevice/SetupSampleDevice.csproj
index bac341e9..ece1e6e1 100644
--- a/dotnet/samples/SetupSampleDevice/SetupSampleDevice.csproj
+++ b/dotnet/samples/SetupSampleDevice/SetupSampleDevice.csproj
@@ -7,9 +7,9 @@
enable
-
-
-
+
+
+
diff --git a/dotnet/src/Microsoft.Azure.Iot.Device/Microsoft.Azure.Iot.Device.csproj b/dotnet/src/Microsoft.Azure.Iot.Device/Microsoft.Azure.Iot.Device.csproj
index 66cf2165..57afbcca 100644
--- a/dotnet/src/Microsoft.Azure.Iot.Device/Microsoft.Azure.Iot.Device.csproj
+++ b/dotnet/src/Microsoft.Azure.Iot.Device/Microsoft.Azure.Iot.Device.csproj
@@ -43,17 +43,17 @@
-
+
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/dotnet/tests/Microsoft.Azure.Iot.Device.IntegrationTests/Microsoft.Azure.Iot.Device.IntegrationTests.csproj b/dotnet/tests/Microsoft.Azure.Iot.Device.IntegrationTests/Microsoft.Azure.Iot.Device.IntegrationTests.csproj
index ca0ff09c..cd959b1e 100644
--- a/dotnet/tests/Microsoft.Azure.Iot.Device.IntegrationTests/Microsoft.Azure.Iot.Device.IntegrationTests.csproj
+++ b/dotnet/tests/Microsoft.Azure.Iot.Device.IntegrationTests/Microsoft.Azure.Iot.Device.IntegrationTests.csproj
@@ -11,15 +11,15 @@
-
-
-
+
+
+
-
+
-
-
-
+
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/dotnet/tests/Microsoft.Azure.Iot.Device.UnitTests/Microsoft.Azure.Iot.Device.UnitTests.csproj b/dotnet/tests/Microsoft.Azure.Iot.Device.UnitTests/Microsoft.Azure.Iot.Device.UnitTests.csproj
index a26f86a6..8e4bbf40 100644
--- a/dotnet/tests/Microsoft.Azure.Iot.Device.UnitTests/Microsoft.Azure.Iot.Device.UnitTests.csproj
+++ b/dotnet/tests/Microsoft.Azure.Iot.Device.UnitTests/Microsoft.Azure.Iot.Device.UnitTests.csproj
@@ -8,11 +8,11 @@
-
+
-
-
-
+
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all