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.
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.