From 7ea022277927af9b7dc77e528a349fe0868cf93d Mon Sep 17 00:00:00 2001 From: "821644@qq.com" <821644@qq.com> Date: Mon, 13 Apr 2026 14:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96NuGet=E5=8C=85=E5=BC=95?= =?UTF-8?q?=E7=94=A8=EF=BC=9A=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E5=8C=85=E5=B9=B6=E5=8D=87=E7=BA=A7=E6=9C=89=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E=E7=9A=84=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除未使用的包: - Microsoft.AspNetCore.Cors (内置CORS) - Microsoft.AspNetCore.Http.Abstractions (内置) - Microsoft.AspNetCore.SignalR (Core项目未使用) - Microsoft.AspNetCore.SignalR.Protocols.MessagePack (未使用) - Microsoft.Extensions.Caching.StackExchangeRedis (Redis未实现) - StackExchange.Redis (Redis未实现) - 升级有漏洞的包: - Microsoft.Extensions.Caching.Memory 8.0.0 → 8.0.1 - System.IdentityModel.Tokens.Jwt 7.0.3 → 7.6.3 - Serilog.AspNetCore 8.0.0 → 8.0.2 - Serilog.Sinks.Console 5.0.1 → 6.0.0 - Serilog.Sinks.File 5.0.0 → 6.0.0 - Swashbuckle.AspNetCore 6.5.0 → 6.6.2 - Microsoft.AspNetCore.Mvc.NewtonsoftJson 8.0.0 → 8.0.1 - 添加缺失的包: - Microsoft.Extensions.Hosting.Abstractions 到 Core项目 --- Haoliang.Api/Haoliang.Api.csproj | 16 ++++++---------- Haoliang.Core/Haoliang.Core.csproj | 11 +++++------ Haoliang.Data/Haoliang.Data.csproj | 10 ++++++++-- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/Haoliang.Api/Haoliang.Api.csproj b/Haoliang.Api/Haoliang.Api.csproj index cb56d48..ecbb355 100644 --- a/Haoliang.Api/Haoliang.Api.csproj +++ b/Haoliang.Api/Haoliang.Api.csproj @@ -7,8 +7,7 @@ - - + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -18,15 +17,12 @@ all - + - - - - - - - + + + + diff --git a/Haoliang.Core/Haoliang.Core.csproj b/Haoliang.Core/Haoliang.Core.csproj index fb665c8..ee88559 100644 --- a/Haoliang.Core/Haoliang.Core.csproj +++ b/Haoliang.Core/Haoliang.Core.csproj @@ -12,12 +12,11 @@ - - - - - - + + + + + diff --git a/Haoliang.Data/Haoliang.Data.csproj b/Haoliang.Data/Haoliang.Data.csproj index 3f7b0ff..f16c9dc 100644 --- a/Haoliang.Data/Haoliang.Data.csproj +++ b/Haoliang.Data/Haoliang.Data.csproj @@ -7,8 +7,14 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all +