Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore NuGet version 7.0.x does not support NET 6.0.x, but the EntityFrameworkCore 7.0.x does support NET 6.0.x. #46054
Labels
area-healthchecks
Includes: Healthchecks (some bugs also in Extensions repo)
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
May be related to Issue 45278
This NuGet package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore version 7.0.x only supports NET 7.0
But...
Microsoft.Extensions.Diagnostics.HealthChecks 7.0.x supports NET Standard 2.0, 4.6.2, and 7.0
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions 7.0.x supports NET Standard 2.0, and 4.6.2
Microsoft.EntityFrameworkCore.* 7.0.x supports NET 6.0
Describe the solution you'd like
If the item being health checked, EntityFrameworkCore 7.0.x, supports NET 6.0, and the 2 NuGet packages for Microsoft.Extensions.Diagnostics.HealthChecks listed above support 6.0 by supporting Standard 2.0, then shouldn't this package support NET 6, instead of just NET 7.0?
I have EntityFrameworkCore 7.0.x working fine on NET 6.0, and using HealthChecks NuGets 6.0.x.
And it works fine, but I should really be able to update the Hea;lthChecks NuGets to 7.0.x
When I update Microsoft.Extensions.Diagnostics.HealthChecks and Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions to 7.0.x and have to leave Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore on 6.0.x I get a run time exception.
Additional context
No response
The text was updated successfully, but these errors were encountered: