AspNetCore.Diagnostics.HealthChecks icon indicating copy to clipboard operation
AspNetCore.Diagnostics.HealthChecks copied to clipboard

[NET 8.0] AspNetCore.HealthChecks.AzureStorage is not up to date causing System.IO.FileNotFoundException

Open VincentCentris opened this issue 1 year ago • 3 comments

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)

VincentCentris avatar Jan 16 '24 18:01 VincentCentris

I was facing the same issue until I realized that Azure Storage health checks has been split into several different new NuGet packages :

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...

asiffermann avatar Jan 18 '24 16:01 asiffermann

Is there a way to mark the old package as deprecated?

codymullins avatar Jan 29 '24 15:01 codymullins

Yes. Nuget.org has such a feature. Package owner can unlist/deprecate package. I'm not an owner. Ping @unaizorrilla , @carlosrecuero .

sungam3r avatar Jan 31 '24 04:01 sungam3r