平安校园
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

48 righe
1.6 KiB

  1. <Project Sdk="Microsoft.NET.Sdk.Worker">
  2. <PropertyGroup>
  3. <TargetFrameworks>net7.0;net6.0;net8.0</TargetFrameworks>
  4. <Nullable>enable</Nullable>
  5. <ImplicitUsings>enable</ImplicitUsings>
  6. <UserSecretsId>dotnet-SafeCampus.Background-97b50b23-4c51-4690-9027-da078c63136a</UserSecretsId>
  7. <SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
  8. </PropertyGroup>
  9. <ItemGroup Condition=" '$(TargetFramework)' == 'net7.0'">
  10. <PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
  11. <PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="7.0.0" />
  12. </ItemGroup>
  13. <ItemGroup Condition=" '$(TargetFramework)' == 'net6.0'">
  14. <PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
  15. <PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="6.0.0" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <Compile Remove="MqttWorker.cs" />
  19. </ItemGroup>
  20. <ItemGroup>
  21. <ProjectReference Include="..\SafeCampus.Cache\SafeCampus.Cache.csproj" />
  22. <ProjectReference Include="..\SafeCampus.Core\SafeCampus.Core.csproj" />
  23. </ItemGroup>
  24. <ItemGroup>
  25. <None Update="A停止服务.bat">
  26. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  27. </None>
  28. <None Update="A卸载服务.bat">
  29. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  30. </None>
  31. <None Update="A启动服务.bat">
  32. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  33. </None>
  34. <None Update="A安装服务.bat">
  35. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  36. </None>
  37. </ItemGroup>
  38. <ItemGroup>
  39. <PackageReference Include="SimpleMQTT" Version="1.0.4" />
  40. </ItemGroup>
  41. </Project>