AspNetCore.Diagnostics.HealthChecks
AspNetCore.Diagnostics.HealthChecks copied to clipboard
[NET 8.0] AspNetCore.HealthChecks.AzureStorage is not up to date causing System.IO.FileNotFoundException
What happened: On a .NET 8 project we are facing the same error as mentionned here https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/2084
What you expected to happen:
All packages for AspNetCore.HealthChecks are on 8.0.0 version on nuget, but it seems
AspNetCore.HealthChecks.AzureStorage has not been updated or package was not pushed to nuget. We would need it.
https://www.nuget.org/packages/AspNetCore.HealthChecks.AzureStorage
How to reproduce it (as minimally and precisely as possible):
Just make usage of AspNetCore.HealthChecks.AzureStorage 7.0.0 inside a .NET 8 projet
Environment:
- .NET Core version : 8.0.0
- Healthchecks version : 7.0.0 (no 8.0.0 available)
Workaround : Install explicit reference of https://www.nuget.org/packages/Microsoft.Bcl.AsyncInterfaces (8.0.0)
I was facing the same issue until I realized that Azure Storage health checks has been split into several different new NuGet packages :
- AspNetCore.HealthChecks.Azure.Storage.Blobs
- AspNetCore.HealthChecks.Azure.Storage.Queues
- AspNetCore.HealthChecks.Azure.Storage.Files.Shares
Make sure to use one of these in your .NET 8 projects. I'm not sure if there is still health check for Azure Table Storage tho, I couldn't find it on nuget.org or in the sources in this repo...
Is there a way to mark the old package as deprecated?
Yes. Nuget.org has such a feature. Package owner can unlist/deprecate package. I'm not an owner. Ping @unaizorrilla , @carlosrecuero .