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

  <PropertyGroup>
    <TargetFrameworks>net9.0;net8.0</TargetFrameworks>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Pomelo.EntityFrameworkCore.MySql" VersionOverride="$(LibraryVersion)" />

    <!-- Microsoft.Extensions.Configuration.Abstractions,
    Microsoft.Extensions.Options, and Microsoft.Extensions.DependencyInjection
    are needed to bump reference to 9.0.0 or newer
    some versions of Pomelo.EntityFrameworkCore.MySql brings to old references -->
    <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" />
    <PackageReference Include="Microsoft.Extensions.Options" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection" />

    <!-- Microsoft.Extensions.Caching.Memory is indirect reference. Bumping it to mitigate https://github.com/advisories/GHSA-qj66-m88j-hmgj -->
    <PackageReference Include="Microsoft.Extensions.Caching.Memory" />
  </ItemGroup>

</Project>
