Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kjaworski opened this issue Oct 9, 2024 · 0 comments

Comments

@kjaworski
Copy link

What happened:
On a .NET 8 project we are facing an error similar to the one described here: #2142
The Azure Function host fails to start on starting function with Blob / Queue trigger because of the following error:
Could not load file or assembly 'System.Memory.Data, Version=6.0.0.0, Culture=neutral,

What you expected to happen:
Latest AspNetCore.HealthChecks.Azure.Storage.* packages' versions to be working with latest Azure.Core.

How to reproduce it (as minimally and precisely as possible):
Install any 8.0.1 Azure.Storage HC to a .NET 8 project with the latest version, e.g. AspNetCore.HealthChecks.Azure.Storage.Blobs
Then install Microsoft.Extensions.Azure 1.7.6 (it uses Azure.Core underneath) and try to use both dependencies (an Azure Function with Queue or Blob trigger has to be started during host startup). They recently upgraded System.Memory.Data to 6.0.0 in Azure.Core.

Environment:
.NET version : 8.0.0
Healthchecks version : 8.0.1
Workaround : Downgrade Microsoft.Extensions.Azure to 1.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant