更新版本号

This commit is contained in:
Kimdiego2098
2023-11-20 22:47:18 +08:00
parent 90006782f2
commit 47c7b88436
8 changed files with 6 additions and 38 deletions

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFrameworks>net6.0;net8.0;</TargetFrameworks>
<Version>4.0.0.1</Version>
<Version>4.0.0.2</Version>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Authors>Diego</Authors>

View File

@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0;</TargetFrameworks>
<Version>4.0.0.1</Version>
<Version>4.0.0.2</Version>
<LangVersion>latest</LangVersion>
<Authors>Diego</Authors>
<Product>ThingsGateway</Product>

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>4.0.0.1</Version>
<Version>4.0.0.2</Version>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<LangVersion>latest</LangVersion>
<TargetFrameworks>net45;netstandard2.0;net6.0;net8.0;</TargetFrameworks>

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>4.0.0.1</Version>
<Version>4.0.0.2</Version>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFrameworks>net6.0;net8.0;</TargetFrameworks>

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>4.0.0.1</Version>
<Version>4.0.0.2</Version>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFrameworks>net6.0;net8.0;</TargetFrameworks>

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>4.0.0.1</Version>
<Version>4.0.0.2</Version>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFrameworks>net6.0;net8.0;</TargetFrameworks>

View File

@@ -54,20 +54,6 @@ public class Program
builder.Host.UseWindowsService();
builder.Host.UseSystemd();
#if AF2021
builder.WebHost.UseKestrel(
o =>
{
var config = Furion.App.GetConfig<ThingsGateway.Gateway.LK.MqttConfig>("MqttConfig", true);
if (config.Enable)
{
o.ListenAnyIP(config.Port, a => MQTTnet.AspNetCore.ConnectionBuilderExtensions.UseMqtt(a));
o.ListenAnyIP(config.WebSocketPort);
}
});
#endif
//Furion便利方法
builder.Inject();
var app = builder.Build();

View File

@@ -7,12 +7,6 @@
<!--<PlatformTarget>x86</PlatformTarget>-->
</PropertyGroup>
<ItemGroup>
<_WebToolingArtifacts Remove="Properties\PublishProfiles\linux64_net6.pubxml" />
<_WebToolingArtifacts Remove="Properties\PublishProfiles\linux64_net8.pubxml" />
</ItemGroup>
<ItemGroup>
<Content Update="pm2-linux.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -50,17 +44,5 @@
<!--pro内容-->
<PropertyGroup Condition="'$(SolutionName)'=='ThingsGateway - Pro - AF2021'">
<DefineConstants>AF2021</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(SolutionName)'=='ThingsGateway - Pro - AF2021'">
<ProjectReference Include="..\..\PluginProAF2021\ThingsGateway.Gateway.LK\ThingsGateway.Gateway.LK.csproj" />
<PackageReference Include="MQTTnet.AspNetCore" Version="4.3.1.873" />
</ItemGroup>
</Project>