Skip to content

Commit 867d9e9

Browse files
committed
升级net10
1 parent 3100388 commit 867d9e9

21 files changed

Lines changed: 45 additions & 83 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup .NET Core
1313
uses: actions/setup-dotnet@master
1414
with:
15-
dotnet-version: 8.0.100
15+
dotnet-version: net10.0.100
1616
- name: dotnet info
1717
run: dotnet --info
1818
- name: dotnet JT808.Gateway restore

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/simples/JT808.Gateway.SimpleServer/bin/Debug/net8.0/JT808.Gateway.SimpleServer.dll",
13+
"program": "${workspaceFolder}/simples/JT808.Gateway.SimpleServer/bin/Debug/net10.0/JT808.Gateway.SimpleServer.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}/simples/JT808.Gateway.SimpleServer",
1616
"stopAtEntry": false,

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "8.0.100"
3+
"version": "net10.0.100"
44
}
55
}
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
</PropertyGroup>
7-
82
<ItemGroup>
9-
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />
10-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
11-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
12-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
3+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="10.0.0" />
4+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.0" />
5+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
6+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.0" />
137
</ItemGroup>
148
<Import Project="..\pipeline.props" />
159
</Project>

simples/JT808.Gateway.SimpleQueueNotification/JT808.Gateway.SimpleQueueNotification.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
3-
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
</PropertyGroup>
6-
72
<ItemGroup>
83
<Content Remove="appsettings.Development.json" />
94
<Content Remove="appsettings.json" />

simples/JT808.Gateway.SimpleQueueServer/JT808.Gateway.SimpleQueueServer.csproj

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
</PropertyGroup>
7-
83
<ItemGroup>
9-
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />
10-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
11-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
12-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
4+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="10.0.0" />
5+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.0" />
6+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
7+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.0" />
138
</ItemGroup>
149
<Import Project="..\pipeline.props" />
1510
<ItemGroup>

simples/JT808.Gateway.SimpleQueueService/JT808.Gateway.SimpleQueueService.csproj

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
</PropertyGroup>
7-
83
<ItemGroup>
9-
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />
10-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
11-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
12-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
4+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="10.0.0" />
5+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.0" />
6+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
7+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.0" />
138
</ItemGroup>
149
<Import Project="..\pipeline.props" />
1510
<ItemGroup>

simples/JT808.Gateway.SimpleServer/JT808.Gateway.SimpleServer.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
</PropertyGroup>
73
<ItemGroup>
84
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />
95
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />

simples/JT808.PipelineSimples.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
5-
MinimumVisualStudioVersion = 10.0.40219.1
5+
MinimumVisualStudioVersion = net10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "simples", "simples", "{2459FB59-8A33-49A4-ADBC-A0B12C5886A6}"
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JT808.Gateway.SimpleServer", "JT808.Gateway.SimpleServer\JT808.Gateway.SimpleServer.csproj", "{98E1CDD0-4D4E-48FE-968E-260F0CD5F4D3}"

simples/pipeline.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<Project>
2+
<PropertyGroup>
3+
<OutputType>Exe</OutputType>
4+
<TargetFramework>net10.0</TargetFramework>
5+
</PropertyGroup>
26
<ItemGroup>
37
<ProjectReference Include="..\..\src\JT808.Gateway.Abstractions\JT808.Gateway.Abstractions.csproj" />
48
<ProjectReference Include="..\..\src\JT808.Gateway\JT808.Gateway.csproj"/>

0 commit comments

Comments
 (0)