mirror of
				https://gitee.com/ThingsGateway/ThingsGateway.git
				synced 2025-10-31 15:43:59 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <Project Sdk="Microsoft.NET.Sdk.Web">
 | |
| 
 | |
| 
 | |
| 	<PropertyGroup>
 | |
| 		<GenerateDocumentationFile>false</GenerateDocumentationFile>
 | |
| 		<ApplicationIcon>wwwroot/favicon.ico</ApplicationIcon>
 | |
| 		<!--<ServerGarbageCollection>false</ServerGarbageCollection>-->
 | |
| 	</PropertyGroup>
 | |
| 
 | |
| 
 | |
| 	<ItemGroup>
 | |
| 	  <None Remove="WindowsServiceCreate.bat" />
 | |
| 	  <None Remove="WindowsServiceDelete.bat" />
 | |
| 	</ItemGroup>
 | |
| 
 | |
| 
 | |
| 
 | |
| 	
 | |
| 	<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 Include="Dockerfile">
 | |
| 	    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | |
| 	  </Content>
 | |
| 	  <Content Include="WindowsServiceCreate.bat">
 | |
| 	    <CopyToOutputDirectory>Always</CopyToOutputDirectory>
 | |
| 	  </Content>
 | |
| 	  <Content Include="WindowsServiceDelete.bat">
 | |
| 	    <CopyToOutputDirectory>Always</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>
 | |
| 	<ItemGroup>
 | |
| 	  <Content Update="pm2-linux.json">
 | |
| 	    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | |
| 	  </Content>
 | |
| 	  <Content Update="pm2-windows.json">
 | |
| 	    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | |
| 	  </Content>
 | |
| 	</ItemGroup>
 | |
| 
 | |
| 	<ItemGroup>
 | |
| 		<Content Update="wwwroot\**">
 | |
| 			<CopyToOutputDirectory>Always</CopyToOutputDirectory>
 | |
| 		</Content>
 | |
| 	</ItemGroup>
 | |
| 	
 | |
| </Project>
 | 
