52 lines
1.7 KiB
XML
52 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
|
|
<PropertyGroup>
|
|
<ApplicationIcon>wwwroot\favicon.ico</ApplicationIcon>
|
|
<!--<ServerGarbageCollection>false</ServerGarbageCollection>-->
|
|
<!--<PlatformTarget>x86</PlatformTarget>-->
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<_WebToolingArtifacts Remove="Properties\PublishProfiles\linux64_net6.pubxml" />
|
|
<_WebToolingArtifacts Remove="Properties\PublishProfiles\linux64_net7.pubxml" />
|
|
<_WebToolingArtifacts Remove="Properties\PublishProfiles\win64_net6.pubxml" />
|
|
<_WebToolingArtifacts Remove="Properties\PublishProfiles\win64_net7.pubxml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Update="pm2-linux.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Update="pm2-windows.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Dockerfile">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="WindowsServiceCreate.bat">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="WindowsServiceDelete.bat">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
|
|
<!--安装服务守护-->
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="7.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="7.0.1" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ThingsGateway.Web.Core\ThingsGateway.Web.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
|
|
</Project>
|