From 371a5857c3ab7666027e8783ab41863bee079194 Mon Sep 17 00:00:00 2001 From: "821644@qq.com" <821644@qq.com> Date: Sun, 12 Apr 2026 22:36:58 +0800 Subject: [PATCH] Upgrade project from .NET 6.0 to .NET 8.0 - Updated all project files to target net8.0 - Updated Microsoft.EntityFrameworkCore to 8.0.2 - Updated Pomelo.EntityFrameworkCore.MySql to 8.0.2 - Updated Microsoft.Extensions.* packages to 8.0.0 - Updated System.IdentityModel.Tokens.Jwt to 7.0.3 - Updated xunit and related packages to latest versions - Updated Microsoft.NET.Test.Sdk to 17.8.0 - Added .NET 8.0 SDK installation --- Haoliang.Api/Haoliang.Api.csproj | 18 +++++++++--------- Haoliang.Core/Haoliang.Core.csproj | 10 +++++----- Haoliang.Data/Haoliang.Data.csproj | 10 +++++----- Haoliang.Models/Haoliang.Models.csproj | 2 +- Haoliang.Tests/Haoliang.Tests.csproj | 24 ++++++++++++------------ 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Haoliang.Api/Haoliang.Api.csproj b/Haoliang.Api/Haoliang.Api.csproj index 15c118e..5b044d0 100644 --- a/Haoliang.Api/Haoliang.Api.csproj +++ b/Haoliang.Api/Haoliang.Api.csproj @@ -1,32 +1,32 @@ - net6.0 + net8.0 enable enable - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - - - + + + - + diff --git a/Haoliang.Core/Haoliang.Core.csproj b/Haoliang.Core/Haoliang.Core.csproj index 8efb094..fb665c8 100644 --- a/Haoliang.Core/Haoliang.Core.csproj +++ b/Haoliang.Core/Haoliang.Core.csproj @@ -6,7 +6,7 @@ - net6.0 + net8.0 enable enable @@ -14,10 +14,10 @@ - - - - + + + + diff --git a/Haoliang.Data/Haoliang.Data.csproj b/Haoliang.Data/Haoliang.Data.csproj index 3a7548b..8bf1899 100644 --- a/Haoliang.Data/Haoliang.Data.csproj +++ b/Haoliang.Data/Haoliang.Data.csproj @@ -5,16 +5,16 @@ - - - - + + + + - net6.0 + net8.0 enable enable diff --git a/Haoliang.Models/Haoliang.Models.csproj b/Haoliang.Models/Haoliang.Models.csproj index 132c02c..30402ac 100644 --- a/Haoliang.Models/Haoliang.Models.csproj +++ b/Haoliang.Models/Haoliang.Models.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable diff --git a/Haoliang.Tests/Haoliang.Tests.csproj b/Haoliang.Tests/Haoliang.Tests.csproj index 87c6605..0c0eaf9 100644 --- a/Haoliang.Tests/Haoliang.Tests.csproj +++ b/Haoliang.Tests/Haoliang.Tests.csproj @@ -1,33 +1,33 @@ - net6.0 + net8.0 enable false - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - - - - + + + + - +