From 6716d2e88e11bb4221b844da3b60cbbfbe7eb893 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sat, 12 Oct 2024 03:29:23 +0400 Subject: [PATCH] test: Simplified used packages. --- src/Directory.Build.props | 7 +++++++ src/libs/AutoSDK.CLI/Resources/src_Directory.Build.props | 7 +++++++ ...IntegrationTests_$SolutionName$.IntegrationTests.csproj | 6 ++---- src/libs/Directory.Build.props | 7 ------- .../AutoSDK.SnapshotTests/AutoSDK.SnapshotTests.csproj | 5 ++--- src/tests/AutoSDK.UnitTests/AutoSDK.UnitTests.csproj | 4 +--- 6 files changed, 19 insertions(+), 17 deletions(-) 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 - - - +