.net4x完善

This commit is contained in:
sin365 2024-04-15 14:17:36 +08:00
parent 8cbd509ffd
commit 8917dc5aa6
4 changed files with 15 additions and 8 deletions

View File

@ -24,6 +24,10 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<!--避免 错误 CS8630 无效的 nullable 值: C# 7.3 的“Enable”。请使用语言版本 8.0 或更高版本 -->
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>

View File

@ -1,14 +1,13 @@
using System.Net;
using System.Net.Sockets;
using static HaoYueNet.ClientNetworkNet4x.BaseData;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System;
using System.IO;
using System.Threading;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace HaoYueNet.ClientNetwork.OtherMode
namespace HaoYueNet.ClientNetworkNet4x.OtherMode
{
public class NetworkHelperCore_ListenerMode
{

View File

@ -5,7 +5,7 @@ using System.Net.Sockets;
using System.Threading;
using static HaoYueNet.ClientNetworkNet4x.BaseData;
namespace HaoYueNet.ClientNetwork.OtherMode
namespace HaoYueNet.ClientNetworkNet4x.OtherMode
{
public class NetworkHelperCore_SourceMode
{

View File

@ -22,6 +22,10 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<!--避免 错误 CS8630 无效的 nullable 值: C# 7.3 的“Enable”。请使用语言版本 8.0 或更高版本 -->
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>