diff --git a/.editorconfig b/.editorconfig index 67ff2b0..bb5ac78 100644 --- a/.editorconfig +++ b/.editorconfig @@ -17,6 +17,10 @@ dotnet_diagnostic.CS1998.severity = suggestion # Reason: it could be too verbose to use it everywhere, but this is a good reminder dotnet_diagnostic.CA1848.severity = none +# CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled +# Reason: logging performance is not critical in our context, and this warning is too aggressive +dotnet_diagnostic.CA1873.severity = none + # CA1716: Rename namespace Constants so that it no longer conflicts with the reserved language keyword 'Shared'. # Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. # Reason: we decided to keep it as is for now @@ -302,6 +306,9 @@ dotnet_diagnostic.S6608.severity = none # SA1011: Closing square bracket should be followed by a space. dotnet_diagnostic.SA1011.severity = none +# MA0015: The expression does not match a parameter +dotnet_diagnostic.MA0015.severity = none + # The relationship defined by this property contributes to a dependency loop resharper_entity_framework_model_validation_circular_dependency_highlighting = none diff --git a/.github/workflows/reusable_run_tests.yml b/.github/workflows/reusable_run_tests.yml index 0925bfe..6b1714a 100644 --- a/.github/workflows/reusable_run_tests.yml +++ b/.github/workflows/reusable_run_tests.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: dotnet: [ - { tfm: net9.0, version: '9.0.x' }, + { tfm: net10.0, version: '10.0.x' } ] env: BUILD_CONFIG: Release @@ -35,7 +35,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 9.0.x + 10.0.x - name: Display dotnet version run: | diff --git a/DiplomaticMailBot.Cli/DiplomaticMailBot.Cli.csproj b/DiplomaticMailBot.Cli/DiplomaticMailBot.Cli.csproj index 5bfd308..cd7d4a3 100644 --- a/DiplomaticMailBot.Cli/DiplomaticMailBot.Cli.csproj +++ b/DiplomaticMailBot.Cli/DiplomaticMailBot.Cli.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable dotnet-DiplomaticMailBot.Cli-3d3bd409-87df-4c5d-b25c-562f3637ae10 @@ -20,6 +20,7 @@ + diff --git a/DiplomaticMailBot.Common/DiplomaticMailBot.Common.csproj b/DiplomaticMailBot.Common/DiplomaticMailBot.Common.csproj index 9c1b53b..5109c8e 100644 --- a/DiplomaticMailBot.Common/DiplomaticMailBot.Common.csproj +++ b/DiplomaticMailBot.Common/DiplomaticMailBot.Common.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Domain.Contracts/DiplomaticMailBot.Domain.Contracts.csproj b/DiplomaticMailBot.Domain.Contracts/DiplomaticMailBot.Domain.Contracts.csproj index 42e469b..0111f9e 100644 --- a/DiplomaticMailBot.Domain.Contracts/DiplomaticMailBot.Domain.Contracts.csproj +++ b/DiplomaticMailBot.Domain.Contracts/DiplomaticMailBot.Domain.Contracts.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Domain.Implementations/DiplomaticMailBot.Domain.Implementations.csproj b/DiplomaticMailBot.Domain.Implementations/DiplomaticMailBot.Domain.Implementations.csproj index 20a2619..d5b30e6 100644 --- a/DiplomaticMailBot.Domain.Implementations/DiplomaticMailBot.Domain.Implementations.csproj +++ b/DiplomaticMailBot.Domain.Implementations/DiplomaticMailBot.Domain.Implementations.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.Database/DiplomaticMailBot.Infra.Database.csproj b/DiplomaticMailBot.Infra.Database/DiplomaticMailBot.Infra.Database.csproj index 8e9bc82..9e58a04 100644 --- a/DiplomaticMailBot.Infra.Database/DiplomaticMailBot.Infra.Database.csproj +++ b/DiplomaticMailBot.Infra.Database/DiplomaticMailBot.Infra.Database.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.Entities/DiplomaticMailBot.Infra.Entities.csproj b/DiplomaticMailBot.Infra.Entities/DiplomaticMailBot.Infra.Entities.csproj index b593a32..937807e 100644 --- a/DiplomaticMailBot.Infra.Entities/DiplomaticMailBot.Infra.Entities.csproj +++ b/DiplomaticMailBot.Infra.Entities/DiplomaticMailBot.Infra.Entities.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.Repositories.Contracts/DiplomaticMailBot.Infra.Repositories.Contracts.csproj b/DiplomaticMailBot.Infra.Repositories.Contracts/DiplomaticMailBot.Infra.Repositories.Contracts.csproj index 2d80ea2..6001a95 100644 --- a/DiplomaticMailBot.Infra.Repositories.Contracts/DiplomaticMailBot.Infra.Repositories.Contracts.csproj +++ b/DiplomaticMailBot.Infra.Repositories.Contracts/DiplomaticMailBot.Infra.Repositories.Contracts.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.Repositories.Implementations/DiplomaticMailBot.Infra.Repositories.Implementations.csproj b/DiplomaticMailBot.Infra.Repositories.Implementations/DiplomaticMailBot.Infra.Repositories.Implementations.csproj index 8208f84..1735f86 100644 --- a/DiplomaticMailBot.Infra.Repositories.Implementations/DiplomaticMailBot.Infra.Repositories.Implementations.csproj +++ b/DiplomaticMailBot.Infra.Repositories.Implementations/DiplomaticMailBot.Infra.Repositories.Implementations.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.ServiceModels/DiplomaticMailBot.Infra.ServiceModels.csproj b/DiplomaticMailBot.Infra.ServiceModels/DiplomaticMailBot.Infra.ServiceModels.csproj index 17b910f..237d661 100644 --- a/DiplomaticMailBot.Infra.ServiceModels/DiplomaticMailBot.Infra.ServiceModels.csproj +++ b/DiplomaticMailBot.Infra.ServiceModels/DiplomaticMailBot.Infra.ServiceModels.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.Telegram.Contracts/DiplomaticMailBot.Infra.Telegram.Contracts.csproj b/DiplomaticMailBot.Infra.Telegram.Contracts/DiplomaticMailBot.Infra.Telegram.Contracts.csproj index e96cdcc..0f3b40f 100644 --- a/DiplomaticMailBot.Infra.Telegram.Contracts/DiplomaticMailBot.Infra.Telegram.Contracts.csproj +++ b/DiplomaticMailBot.Infra.Telegram.Contracts/DiplomaticMailBot.Infra.Telegram.Contracts.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Infra.Telegram.Implementations/DiplomaticMailBot.Infra.Telegram.Implementations.csproj b/DiplomaticMailBot.Infra.Telegram.Implementations/DiplomaticMailBot.Infra.Telegram.Implementations.csproj index f8cfad4..62d5291 100644 --- a/DiplomaticMailBot.Infra.Telegram.Implementations/DiplomaticMailBot.Infra.Telegram.Implementations.csproj +++ b/DiplomaticMailBot.Infra.Telegram.Implementations/DiplomaticMailBot.Infra.Telegram.Implementations.csproj @@ -1,12 +1,13 @@ - net9.0 + net10.0 enable enable + diff --git a/DiplomaticMailBot.Services/DiplomaticMailBot.Services.csproj b/DiplomaticMailBot.Services/DiplomaticMailBot.Services.csproj index 36de5d8..71fe1e6 100644 --- a/DiplomaticMailBot.Services/DiplomaticMailBot.Services.csproj +++ b/DiplomaticMailBot.Services/DiplomaticMailBot.Services.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Tests.Common/DiplomaticMailBot.Tests.Common.csproj b/DiplomaticMailBot.Tests.Common/DiplomaticMailBot.Tests.Common.csproj index 93b14f2..3025b3b 100644 --- a/DiplomaticMailBot.Tests.Common/DiplomaticMailBot.Tests.Common.csproj +++ b/DiplomaticMailBot.Tests.Common/DiplomaticMailBot.Tests.Common.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DiplomaticMailBot.Tests.Integration/DiplomaticMailBot.Tests.Integration.csproj b/DiplomaticMailBot.Tests.Integration/DiplomaticMailBot.Tests.Integration.csproj index e5b4a4e..365ce4d 100644 --- a/DiplomaticMailBot.Tests.Integration/DiplomaticMailBot.Tests.Integration.csproj +++ b/DiplomaticMailBot.Tests.Integration/DiplomaticMailBot.Tests.Integration.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 latest enable enable diff --git a/DiplomaticMailBot.Tests.Unit/DiplomaticMailBot.Tests.Unit.csproj b/DiplomaticMailBot.Tests.Unit/DiplomaticMailBot.Tests.Unit.csproj index f3fff08..33ee8f7 100644 --- a/DiplomaticMailBot.Tests.Unit/DiplomaticMailBot.Tests.Unit.csproj +++ b/DiplomaticMailBot.Tests.Unit/DiplomaticMailBot.Tests.Unit.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 latest enable enable diff --git a/Directory.Build.props b/Directory.Build.props index 173289f..f758d12 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,13 +4,18 @@ true - 9-all + 10-all true true true strict + + + NU1903 diff --git a/Directory.Packages.props b/Directory.Packages.props index f84023f..26c6030 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,27 +1,28 @@ true - false + true + true - + all runtime; build; native; contentfiles; analyzers - + all runtime; build; native; contentfiles; analyzers - + - + all runtime; build; native; contentfiles; analyzers - + all runtime; build; native; contentfiles; analyzers @@ -36,32 +37,41 @@ - + - - - - - - - - - + + + + + + + + + + - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - - + + + + + + + + + + + \ No newline at end of file