Skip to content

Asp.net core using storage nuget package from 2017 results in nuget conflict #8472

Closed
@hansmbakker

Description

@hansmbakker

Describe the bug

Microsoft.AspNetCore.DataProtection.AzureStorage depends on WindowsAzure.Storage, a nuget package from 2017 😱. This creates conflicts e.g. when also using Nuget packages that rely on its modern replacement (Microsoft.Azure.Storage.*). E.g. Bot Framework does this.

This is an issue for my project.

Error I'm getting:

The type 'CloudStorageAccount' exists in both 'Microsoft.Azure.Storage.Common, Version=9.4.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and 'Microsoft.WindowsAzure.Storage, Version=8.1.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-dataprotectionIncludes: DataProtectionbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions