From a527c3331c32f35e60d78ecacb8bc21824659894 Mon Sep 17 00:00:00 2001
From: wanggaofeng <15601716045@163.com>
Date: Fri, 1 Mar 2024 19:01:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E9=A1=B9=E7=9B=AE=E4=B8=BA.n?=
 =?UTF-8?q?et=208?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 XUnitDIStudy.Test/XUnitDIStudy.Test.csproj    | 27 ++++++++-----------
 .../XUnitDIStudy.WebApp.csproj                | 14 ++++------
 XUnitDIStudy.sln                              |  6 ++---
 3 files changed, 19 insertions(+), 28 deletions(-)

diff --git a/XUnitDIStudy.Test/XUnitDIStudy.Test.csproj b/XUnitDIStudy.Test/XUnitDIStudy.Test.csproj
index d769e53..d3cd72e 100644
--- a/XUnitDIStudy.Test/XUnitDIStudy.Test.csproj
+++ b/XUnitDIStudy.Test/XUnitDIStudy.Test.csproj
@@ -1,32 +1,27 @@
 <Project Sdk="Microsoft.NET.Sdk">
-
   <PropertyGroup>
-    <TargetFramework>net5.0</TargetFramework>
-
+    <TargetFramework>net8.0</TargetFramework>
     <IsPackable>false</IsPackable>
   </PropertyGroup>
-
   <ItemGroup>
-    <PackageReference Include="AngleSharp" Version="0.14.0" />
-    <PackageReference Include="FluentAssertions" Version="5.10.3" />
-    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.1" />
-    <PackageReference Include="Microsoft.AspNetCore.TestHost" Version="5.0.1" />
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
-    <PackageReference Include="xunit" Version="2.4.1" />
-    <PackageReference Include="Xunit.DependencyInjection" Version="7.1.0" />
-    <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
+    <PackageReference Include="AngleSharp" Version="1.1.1" />
+    <PackageReference Include="FluentAssertions" Version="6.12.0" />
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
+    <PackageReference Include="xunit" Version="2.7.0" />
+    <PackageReference Include="Xunit.DependencyInjection" Version="8.9.1" />
+    <PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
       <PrivateAssets>all</PrivateAssets>
     </PackageReference>
-    <PackageReference Include="coverlet.collector" Version="1.3.0">
+    <PackageReference Include="coverlet.collector" Version="6.0.1">
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
       <PrivateAssets>all</PrivateAssets>
     </PackageReference>
+    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.2" />
+    <PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.2" />
   </ItemGroup>
-
   <ItemGroup>
     <ProjectReference Include="..\XUnitDIStudy.Service\XUnitDIStudy.Service.csproj" />
     <ProjectReference Include="..\XUnitDIStudy.WebApp\XUnitDIStudy.WebApp.csproj" />
   </ItemGroup>
-
-</Project>
+</Project>
\ No newline at end of file
diff --git a/XUnitDIStudy.WebApp/XUnitDIStudy.WebApp.csproj b/XUnitDIStudy.WebApp/XUnitDIStudy.WebApp.csproj
index 76fefcf..62cc996 100644
--- a/XUnitDIStudy.WebApp/XUnitDIStudy.WebApp.csproj
+++ b/XUnitDIStudy.WebApp/XUnitDIStudy.WebApp.csproj
@@ -1,17 +1,13 @@
 <Project Sdk="Microsoft.NET.Sdk.Web">
-
   <PropertyGroup>
-    <TargetFramework>net5.0</TargetFramework>
+    <TargetFramework>net8.0</TargetFramework>
   </PropertyGroup>
-
   <ItemGroup>
-    <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.1" NoWarn="NU1605" />
-    <PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="5.0.1" NoWarn="NU1605" />
-    <PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" />
+    <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
+    <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.2" />
+    <PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.2" />
   </ItemGroup>
-
   <ItemGroup>
     <ProjectReference Include="..\XUnitDIStudy.Service\XUnitDIStudy.Service.csproj" />
   </ItemGroup>
-
-</Project>
+</Project>
\ No newline at end of file
diff --git a/XUnitDIStudy.sln b/XUnitDIStudy.sln
index 25bb58b..bf1b5b9 100644
--- a/XUnitDIStudy.sln
+++ b/XUnitDIStudy.sln
@@ -1,13 +1,13 @@
-
+
 Microsoft Visual Studio Solution File, Format Version 12.00
 # Visual Studio Version 16
 VisualStudioVersion = 16.0.30804.86
 MinimumVisualStudioVersion = 10.0.40219.1
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XUnitDIStudy.Service", "XUnitDIStudy.Service\XUnitDIStudy.Service.csproj", "{12105FBE-85A9-4B2A-88F9-3EDF67C8CD5F}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XUnitDIStudy.WebApp", "XUnitDIStudy.WebApp\XUnitDIStudy.WebApp.csproj", "{4E18B97C-D40D-449E-AB78-F97B5D4913F3}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XUnitDIStudy.WebApp", "XUnitDIStudy.WebApp\XUnitDIStudy.WebApp.csproj", "{4E18B97C-D40D-449E-AB78-F97B5D4913F3}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XUnitDIStudy.Test", "XUnitDIStudy.Test\XUnitDIStudy.Test.csproj", "{4D1A2657-8B91-49CD-97C3-F34FD3D6DCB8}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XUnitDIStudy.Test", "XUnitDIStudy.Test\XUnitDIStudy.Test.csproj", "{4D1A2657-8B91-49CD-97C3-F34FD3D6DCB8}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XUnitDIStudy.Model", "XUnitDIStudy.Model\XUnitDIStudy.Model.csproj", "{706B4560-0B72-4EE8-9AF5-1907BB2CCCDB}"
 EndProject