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

  <PropertyGroup>
    <TargetFrameworks>net9.0;net8.0</TargetFrameworks>
    <DefineConstants Condition="'$(LibraryVersion)' == '' or '$(LibraryVersion)'>='7.7.0'">$(DefineConstants);GRAPHQL_7_7_OR_GREATER</DefineConstants>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="GraphQL" VersionOverride="$(LibraryVersion)" />
    <PackageReference Include="GraphQL.MicrosoftDI" VersionOverride="$(GraphQLMicrosoftDI)" />
    <PackageReference Include="GraphQL.Server.Transports.AspNetCore" VersionOverride="$(GraphQLServerTransportsAspNetCore)" />
    <PackageReference Include="GraphQL.Server.Ui.GraphiQL" VersionOverride="$(GraphQLServerUIGraphiQL)" />
    <PackageReference Include="System.Diagnostics.DiagnosticSource" />
    <PackageReference Include="System.Reactive" />
  </ItemGroup>

</Project>
