整理代码

This commit is contained in:
Kimdiego2098
2023-11-21 11:41:44 +08:00
parent 5c69917d19
commit c00688e23a
4 changed files with 5 additions and 11 deletions

View File

@@ -1,4 +1,8 @@
<Project>
<!--如果编译net45报错无支持用一下方法添加net45包-->
<!--VS顶部菜单栏 -> 视图 -> 其他 -> 程序包控制台
Install-Package Microsoft.NETFramework.ReferenceAssemblies.net45
-->
<PropertyGroup>
<Version>4.0.0.3</Version>
<GenerateDocumentationFile>True</GenerateDocumentationFile>

View File

@@ -1,7 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;net6.0;net8.0;</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

View File

@@ -186,10 +186,6 @@ namespace ThingsGateway.Foundation.Sockets
}
}
}
catch (Exception ex)
{
return new();
}
finally
{
this.m_cancellationTokenSource = null;

View File

@@ -14,10 +14,6 @@
</PropertyGroup>
<!--<PropertyGroup>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>-->
<ItemGroup>
<ProjectReference Include="..\..\gateway\ThingsGateway.Gateway.Application\ThingsGateway.Gateway.Application.csproj" >