Skip to content

Commit

Permalink
.net8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
刘自龙 committed Nov 20, 2023
1 parent c969c93 commit 14707a8
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore
run: |
dotnet restore NewLife.Net/NewLife.Net.csproj
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore
run: |
dotnet restore NewLife.Net/NewLife.Net.csproj
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Build
run: dotnet build -c Release
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>netbench</AssemblyName>
<RootNamespace>Benchmark</RootNamespace>
<Deterministic>false</Deterministic>
Expand Down
2 changes: 1 addition & 1 deletion EchoAgent/EchoAgent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<AssemblyVersion>1.1.*</AssemblyVersion>
<OutputPath>..\Bin\Agent\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion EchoTest/EchoTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<AssemblyVersion>1.1.*</AssemblyVersion>
<OutputPath>..\Bin\Echo</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion HandlerTest/HandlerTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<AssemblyVersion>1.1.*</AssemblyVersion>
<OutputPath>..\Bin\Handler</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Net/Sockets/Netbase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static Netbase()
/// <summary>实例化</summary>
public Netbase()
{
if (Setting.Current.Debug) Log = XTrace.Log;
if (SocketSetting.Current.Debug) Log = XTrace.Log;
}
#endregion

Expand Down
2 changes: 1 addition & 1 deletion Readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ NewLife.Net压力测试,峰值4.2Gbps,50万pps,消息大小24字节,消
![全貌](Doc/RpcTest/全貌.png)

## 新生命项目矩阵
各项目默认支持net7.0/netstandard2.1/netstandard2.0/net4.61,旧版(2022.1225)支持net4.5/net4.0/net2.0
各项目默认支持net8.0/net7.0/netstandard2.1/netstandard2.0/net4.61,旧版(2022.1225)支持net4.5/net4.0/net2.0

| 项目 | 年份 | 说明 |
| :--------------------------------------------------------------: | :---: | -------------------------------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion RpcTest/RpcTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputPath>..\Bin\Rpc</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Test/Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<AssemblyVersion>1.1.*</AssemblyVersion>
<OutputPath>..\Bin\Test</OutputPath>
Expand Down

0 comments on commit 14707a8

Please sign in to comment.