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

[BUG] Azure.Storage.Blobs incorrectly requires Azure.Core 1.41.0 #47623

Open
liredevil opened this issue Dec 19, 2024 · 1 comment
Open

[BUG] Azure.Storage.Blobs incorrectly requires Azure.Core 1.41.0 #47623

liredevil opened this issue Dec 19, 2024 · 1 comment
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)

Comments

@liredevil
Copy link

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

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 19, 2024
@jsquire jsquire added Storage Storage Service (Queues, Blobs, Files) Service Attention Workflow: This issue is responsible by Azure service team. Client This issue points to a problem in the data-plane of the library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Dec 20, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

2 participants