From 1ad6dd00b6ea2ccf97834815ac98c9b22653a099 Mon Sep 17 00:00:00 2001 From: Alex Klaus Date: Sun, 29 Dec 2024 17:04:59 +1000 Subject: [PATCH 1/2] Upgrade to .NET 9 and get the NuGets up-to-date --- .github/workflows/build_test.yml | 2 +- Api/Api.csproj | 6 +++--- Database/Database.csproj | 4 ++-- Directory.Build.props | 2 +- Domain.Tests/Domain.Tests.csproj | 6 +++--- Domain/Domain.csproj | 2 +- README.md | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index bcd8d51..e8a0852 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Install dotnet-ef run: dotnet tool install --global dotnet-ef diff --git a/Api/Api.csproj b/Api/Api.csproj index 9897cbf..ff360d0 100644 --- a/Api/Api.csproj +++ b/Api/Api.csproj @@ -6,10 +6,10 @@ - - + + - + diff --git a/Database/Database.csproj b/Database/Database.csproj index 4e8c319..fbd4df0 100644 --- a/Database/Database.csproj +++ b/Database/Database.csproj @@ -6,7 +6,7 @@ - - + + diff --git a/Directory.Build.props b/Directory.Build.props index fe3af31..d5fff65 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - net8.0 + net9.0 latest enable strict diff --git a/Domain.Tests/Domain.Tests.csproj b/Domain.Tests/Domain.Tests.csproj index 5e66961..a22cb37 100644 --- a/Domain.Tests/Domain.Tests.csproj +++ b/Domain.Tests/Domain.Tests.csproj @@ -12,16 +12,16 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Domain/Domain.csproj b/Domain/Domain.csproj index 62dcdd2..5a865ae 100644 --- a/Domain/Domain.csproj +++ b/Domain/Domain.csproj @@ -13,7 +13,7 @@ - + diff --git a/README.md b/README.md index 1317416..d6c41bc 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ See "[Pain & Gain of automated tests against SQL (MS SQL or PostgreSQL)](https:/ ### Technologies - Main project: - - [.NET 8](https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-8); - - [Entity Framework Core 8](https://docs.microsoft.com/en-us/ef/core/) and [dotnet-ef](https://docs.microsoft.com/en-us/ef/core/cli/dotnet) CLI. + - [.NET 9](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/overview); + - [Entity Framework Core 9](https://docs.microsoft.com/en-us/ef/core/) and [dotnet-ef](https://docs.microsoft.com/en-us/ef/core/cli/dotnet) CLI. - Test project: - [xUnit](https://xunit.net/) + [Respawn](https://github.com/jbogard/Respawn); - [Docker](https://www.docker.com/) + [SQL Server image](https://hub.docker.com/_/microsoft-mssql-server). @@ -34,7 +34,7 @@ See "[Pain & Gain of automated tests against SQL (MS SQL or PostgreSQL)](https:/ ## Getting Started (locally) Firstly, check out this Git repo and install dependencies: - - [.NET SDK](https://dotnet.microsoft.com/download) v8.x; + - [.NET SDK](https://dotnet.microsoft.com/download) v9.x; - [dotnet-ef](https://docs.microsoft.com/en-us/ef/core/cli/dotnet) CLI; - [Docker](https://www.docker.com/). From 984caa338056c0f309857c59038038aab831674f Mon Sep 17 00:00:00 2001 From: Alex Klaus Date: Sun, 29 Dec 2024 17:08:45 +1000 Subject: [PATCH 2/2] Forgotten files --- Api/Api.csproj | 2 +- Domain.Tests/Domain.Tests.csproj | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Api/Api.csproj b/Api/Api.csproj index ff360d0..76acf7f 100644 --- a/Api/Api.csproj +++ b/Api/Api.csproj @@ -10,7 +10,7 @@ - + diff --git a/Domain.Tests/Domain.Tests.csproj b/Domain.Tests/Domain.Tests.csproj index a22cb37..6b2b952 100644 --- a/Domain.Tests/Domain.Tests.csproj +++ b/Domain.Tests/Domain.Tests.csproj @@ -7,13 +7,13 @@ - - - - - + + + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all