diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 86f2c1f3dd..221de18f49 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -5,5 +5,12 @@
enable
enable
+
+
+ true
+ all
+ low
+ $(WarningsAsErrors);NU1900;NU1901;NU1902;NU1903;NU1904
+
diff --git a/src/libs/AutoSDK.CLI/Resources/src_Directory.Build.props b/src/libs/AutoSDK.CLI/Resources/src_Directory.Build.props
index 86f2c1f3dd..221de18f49 100644
--- a/src/libs/AutoSDK.CLI/Resources/src_Directory.Build.props
+++ b/src/libs/AutoSDK.CLI/Resources/src_Directory.Build.props
@@ -5,5 +5,12 @@
enable
enable
+
+
+ true
+ all
+ low
+ $(WarningsAsErrors);NU1900;NU1901;NU1902;NU1903;NU1904
+
diff --git a/src/libs/AutoSDK.CLI/Resources/src_tests_IntegrationTests_$SolutionName$.IntegrationTests.csproj b/src/libs/AutoSDK.CLI/Resources/src_tests_IntegrationTests_$SolutionName$.IntegrationTests.csproj
index 9c97c3baaa..5b360637c2 100644
--- a/src/libs/AutoSDK.CLI/Resources/src_tests_IntegrationTests_$SolutionName$.IntegrationTests.csproj
+++ b/src/libs/AutoSDK.CLI/Resources/src_tests_IntegrationTests_$SolutionName$.IntegrationTests.csproj
@@ -4,14 +4,12 @@
net8.0
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
diff --git a/src/libs/Directory.Build.props b/src/libs/Directory.Build.props
index 9b8318dee6..2a9f621ce7 100644
--- a/src/libs/Directory.Build.props
+++ b/src/libs/Directory.Build.props
@@ -56,11 +56,4 @@
All
-
- true
- all
- low
- $(WarningsAsErrors);NU1900;NU1901;NU1902;NU1903;NU1904
-
-
diff --git a/src/tests/AutoSDK.SnapshotTests/AutoSDK.SnapshotTests.csproj b/src/tests/AutoSDK.SnapshotTests/AutoSDK.SnapshotTests.csproj
index 85d85ef0d8..70066a4357 100644
--- a/src/tests/AutoSDK.SnapshotTests/AutoSDK.SnapshotTests.csproj
+++ b/src/tests/AutoSDK.SnapshotTests/AutoSDK.SnapshotTests.csproj
@@ -11,10 +11,8 @@
-
-
-
+
@@ -22,6 +20,7 @@
+
diff --git a/src/tests/AutoSDK.UnitTests/AutoSDK.UnitTests.csproj b/src/tests/AutoSDK.UnitTests/AutoSDK.UnitTests.csproj
index cb36c82747..802e5e07c3 100644
--- a/src/tests/AutoSDK.UnitTests/AutoSDK.UnitTests.csproj
+++ b/src/tests/AutoSDK.UnitTests/AutoSDK.UnitTests.csproj
@@ -9,9 +9,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+