[BUG] Azure.Storage.Blobs incorrectly requires Azure.Core 1.41.0 #47623
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Library name and version
Azure.Storage.Blobs 12.21.2
Describe the bug
I am encountering a problem with the Azure.Storage.Blobs package and its dependency on Azure.Core. Specifically:
The current version of Azure.Storage.Blobs (12.21.2) works with Azure.Core version 1.41.0.
However, when I try to use Azure.Core 1.42.0 or newer, the application fails with the following error:
FileLoadException: Could not load file or assembly 'Azure.Core, Version=1.41.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
Here are the relevant versions of the Azure SDK packages currently installed in my project:
Azure.Core:
1.42.0 (installed)
1.44.1 (available)
Azure.Storage.Blobs:
Installed: 12.21.2
Latest version: 12.23.0
Azure.Storage.Common:
Installed: 12.20.1
Latest version: 12.22.0
From my understanding:
Azure.Storage.Blobs depends on Azure.Storage.Common, which should support Azure.Core >= 1.41.0.
Despite this, attempts to use any version of Azure.Core above 1.41.0 (e.g., 1.42.0) result in errors.
This strict dependency on a specific version (1.41.0) of Azure.Core seems to prevent compatibility with newer versions, including 1.42.0 and 1.44.1, even though the package metadata suggests broader support.
Expected behavior
The Azure.Storage.Blobs package should work with Azure.Core versions greater than 1.41.0, especially since updates to Azure.Core are critical for security and compatibility.
Actual behavior
Reproduction Steps
Install the following package versions:
Azure.Storage.Blobs 12.21.2
Azure.Core 1.42.0 (or higher).
Attempt to run the application or resolve dependencies.
Observe the FileLoadException error.
Environment
No response
The text was updated successfully, but these errors were encountered: