平安校园
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

SafeCampus.Background.csproj 1.6 KiB

há 4 meses
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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>