<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFrameworks>net9.0;net8.0</TargetFrameworks>
    <TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
    <DefineConstants Condition="'$(LibraryVersion)'=='' or '$(LibraryVersion)'>='3.7.0'">$(DefineConstants);QUARTZ_3_7_0_OR_GREATER</DefineConstants>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Extensions.Hosting" />
    <PackageReference Include="Quartz" VersionOverride="$(LibraryVersion)" />
    <PackageReference Include="Quartz.Extensions.DependencyInjection" VersionOverride="$(LibraryVersion)" />
    <PackageReference Include="Quartz.Extensions.Hosting" VersionOverride="$(LibraryVersion)" />
  </ItemGroup>

</Project>
