Update project to .NET 10 SDK and upgrade package references

This commit is contained in:
Anduin Xue
2025-11-16 07:27:42 +00:00
parent 76ce1d6859
commit bea7e34a5e
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ It will install the app as a systemd service, and start it automatically. Binary
Requirements about how to run Requirements about how to run
1. Install [.NET 9 SDK](http://dot.net/) and [Node.js](https://nodejs.org/). 1. Install [.NET 10 SDK](http://dot.net/) and [Node.js](https://nodejs.org/).
2. Execute `npm install` at `wwwroot` folder to install the dependencies. 2. Execute `npm install` at `wwwroot` folder to install the dependencies.
3. Execute `dotnet run` to run the app. 3. Execute `dotnet run` to run the app.
4. Use your browser to view [http://localhost:5000](http://localhost:5000). 4. Use your browser to view [http://localhost:5000](http://localhost:5000).
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<AssemblyName>Aiursoft.ChessServer</AssemblyName> <AssemblyName>Aiursoft.ChessServer</AssemblyName>
<RootNamespace>Aiursoft.ChessServer</RootNamespace> <RootNamespace>Aiursoft.ChessServer</RootNamespace>
<IsTestProject>false</IsTestProject> <IsTestProject>false</IsTestProject>
@@ -10,11 +10,11 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Aiursoft.AiurObserver.Extensions" Version="9.0.0" /> <PackageReference Include="Aiursoft.AiurObserver.Extensions" Version="10.0.0" />
<PackageReference Include="Aiursoft.AiurObserver.WebSocket.Server" Version="9.0.10" /> <PackageReference Include="Aiursoft.AiurObserver.WebSocket.Server" Version="10.0.0" />
<PackageReference Include="Aiursoft.InMemoryKvDb" Version="9.0.10" /> <PackageReference Include="Aiursoft.InMemoryKvDb" Version="10.0.0" />
<PackageReference Include="Aiursoft.Scanner" Version="9.0.11" /> <PackageReference Include="Aiursoft.Scanner" Version="10.0.0" />
<PackageReference Include="Aiursoft.WebTools" Version="9.0.10" /> <PackageReference Include="Aiursoft.WebTools" Version="10.0.1" />
<PackageReference Include="Gera.Chess" Version="1.2.0" /> <PackageReference Include="Gera.Chess" Version="1.2.0" />
<PackageReference Include="LynxChess.Lynx" Version="1.11.0" /> <PackageReference Include="LynxChess.Lynx" Version="1.11.0" />
</ItemGroup> </ItemGroup>
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<RootNamespace>Aiursoft.ChessServer.Tests</RootNamespace> <RootNamespace>Aiursoft.ChessServer.Tests</RootNamespace>
<IsTestProject>true</IsTestProject> <IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
@@ -16,7 +16,7 @@
<PackageReference Include="JunitXml.TestLogger" Version="7.0.2" /> <PackageReference Include="JunitXml.TestLogger" Version="7.0.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="4.0.2" /> <PackageReference Include="MSTest.TestAdapter" Version="4.0.2" />
<PackageReference Include="AngleSharp" Version="1.3.1" /> <PackageReference Include="AngleSharp" Version="1.4.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\src\Aiursoft.ChessServer\Aiursoft.ChessServer.csproj" /> <ProjectReference Include="..\..\src\Aiursoft.ChessServer\Aiursoft.ChessServer.csproj" />