Browse Source

升级.net8

dev_netstandard2
sin365 4 months ago
parent
commit
19b8e57c28
  1. 2
      NetLib/HaoYueNet.ClientNetwork/HaoYueNet.ClientNetwork.csproj
  2. 2
      NetLib/HaoYueNet.ServerNetwork/HaoYueNet.ServerNetwork.csproj
  3. 4
      NetLib/HaoYueNet.ServerNetwork/Properties/PublishProfiles/FolderProfile.pubxml
  4. 2
      README.md
  5. 2
      Simple/Client-Cli/Client-Cli.csproj
  6. 2
      Simple/ClientCore/ClientCore.csproj
  7. 4
      Simple/Protobuf/Protobuf.csproj
  8. 4
      Simple/Server/Server.csproj
  9. 2
      Simple/ServerCore/ServerCore.csproj

2
NetLib/HaoYueNet.ClientNetwork/HaoYueNet.ClientNetwork.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

2
NetLib/HaoYueNet.ServerNetwork/HaoYueNet.ServerNetwork.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

4
NetLib/HaoYueNet.ServerNetwork/Properties/PublishProfiles/FolderProfile.pubxml

@ -6,10 +6,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net7.0\publish\win-x64\</PublishDir>
<PublishDir>bin\Release\net8.0\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>false</PublishSingleFile>

2
README.md

@ -1,6 +1,6 @@
# HaoYueNet
.Net 7 的,自建基于IOCP的TCP的高性能网络库
.Net 8 的,自建基于IOCP的TCP的高性能网络库
使用Protobuff作为基础协议(网络库本身不依赖Protobuff,仅上层示例依赖)

2
Simple/Client-Cli/Client-Cli.csproj

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>Client_Cli</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

2
Simple/ClientCore/ClientCore.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

4
Simple/Protobuf/Protobuf.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

4
Simple/Server/Server.csproj

@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

2
Simple/ServerCore/ServerCore.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

Loading…
Cancel
Save