From 356368ad5b4c6de76d4771b034009847f7eb76d9 Mon Sep 17 00:00:00 2001 From: Kyle McMaster Date: Wed, 22 Nov 2023 11:25:45 -0500 Subject: [PATCH] Packages Updates and Project Configuration Cleanup (#634) * Update and cleanup packages, cleanup csproj files * Update dotnetcore.yml with stable .net 8 release --- .github/workflows/dotnetcore.yml | 4 ++-- Directory.Build.props | 2 ++ Directory.Packages.props | 14 ++++++-------- .../Clean.Architecture.Core.csproj | 5 ----- .../Clean.Architecture.Infrastructure.csproj | 5 ----- .../Clean.Architecture.UseCases.csproj | 7 ------- .../Clean.Architecture.Web.csproj | 3 --- .../Clean.Architecture.FunctionalTests.csproj | 9 +-------- .../Clean.Architecture.IntegrationTests.csproj | 6 ------ .../Clean.Architecture.UnitTests.csproj | 3 --- 10 files changed, 11 insertions(+), 47 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index cc29c296f..309e7ec44 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -14,9 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: '8.0.100-rc.2.23502.2' + dotnet-version: '8.0.100' - name: Build with dotnet run: dotnet build --configuration Release - name: Test with dotnet diff --git a/Directory.Build.props b/Directory.Build.props index 6b47e5cab..82a67576a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,6 +3,8 @@ true true net8.0 + enable + enable 1591 diff --git a/Directory.Packages.props b/Directory.Packages.props index 5304b45e9..162135553 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,11 +1,11 @@ - + - + @@ -17,9 +17,8 @@ - + - @@ -30,15 +29,14 @@ - - + - - + + \ No newline at end of file diff --git a/src/Clean.Architecture.Core/Clean.Architecture.Core.csproj b/src/Clean.Architecture.Core/Clean.Architecture.Core.csproj index c713d2436..48e17aa9e 100644 --- a/src/Clean.Architecture.Core/Clean.Architecture.Core.csproj +++ b/src/Clean.Architecture.Core/Clean.Architecture.Core.csproj @@ -1,11 +1,6 @@  - - enable - enable - - diff --git a/src/Clean.Architecture.Infrastructure/Clean.Architecture.Infrastructure.csproj b/src/Clean.Architecture.Infrastructure/Clean.Architecture.Infrastructure.csproj index 16f3a6812..b20c7cd59 100644 --- a/src/Clean.Architecture.Infrastructure/Clean.Architecture.Infrastructure.csproj +++ b/src/Clean.Architecture.Infrastructure/Clean.Architecture.Infrastructure.csproj @@ -1,10 +1,5 @@  - - - enable - enable - diff --git a/src/Clean.Architecture.UseCases/Clean.Architecture.UseCases.csproj b/src/Clean.Architecture.UseCases/Clean.Architecture.UseCases.csproj index 4fe7a2869..6449d42d3 100644 --- a/src/Clean.Architecture.UseCases/Clean.Architecture.UseCases.csproj +++ b/src/Clean.Architecture.UseCases/Clean.Architecture.UseCases.csproj @@ -1,15 +1,8 @@  - - net8.0 - enable - enable - - - diff --git a/src/Clean.Architecture.Web/Clean.Architecture.Web.csproj b/src/Clean.Architecture.Web/Clean.Architecture.Web.csproj index d43ad69ae..e32522391 100644 --- a/src/Clean.Architecture.Web/Clean.Architecture.Web.csproj +++ b/src/Clean.Architecture.Web/Clean.Architecture.Web.csproj @@ -5,8 +5,6 @@ true Exe true - enable - enable True @@ -19,7 +17,6 @@ - diff --git a/tests/Clean.Architecture.FunctionalTests/Clean.Architecture.FunctionalTests.csproj b/tests/Clean.Architecture.FunctionalTests/Clean.Architecture.FunctionalTests.csproj index 54f7c23db..8543d2aa7 100644 --- a/tests/Clean.Architecture.FunctionalTests/Clean.Architecture.FunctionalTests.csproj +++ b/tests/Clean.Architecture.FunctionalTests/Clean.Architecture.FunctionalTests.csproj @@ -1,12 +1,6 @@  - - - net8.0 - enable - enable - - + @@ -21,7 +15,6 @@ - diff --git a/tests/Clean.Architecture.IntegrationTests/Clean.Architecture.IntegrationTests.csproj b/tests/Clean.Architecture.IntegrationTests/Clean.Architecture.IntegrationTests.csproj index a50fa4396..0112f0cf1 100644 --- a/tests/Clean.Architecture.IntegrationTests/Clean.Architecture.IntegrationTests.csproj +++ b/tests/Clean.Architecture.IntegrationTests/Clean.Architecture.IntegrationTests.csproj @@ -1,12 +1,6 @@  - - net8.0 - enable - enable - - diff --git a/tests/Clean.Architecture.UnitTests/Clean.Architecture.UnitTests.csproj b/tests/Clean.Architecture.UnitTests/Clean.Architecture.UnitTests.csproj index 22c3dc95b..51d83eafb 100644 --- a/tests/Clean.Architecture.UnitTests/Clean.Architecture.UnitTests.csproj +++ b/tests/Clean.Architecture.UnitTests/Clean.Architecture.UnitTests.csproj @@ -2,10 +2,7 @@ - net8.0 true - enable - enable