【发布时间】:2020-08-08 01:11:24
【问题描述】:
在我的项目中,我安装了 Microsoft.Azure.Management.Fluent 包(版本 1.27)来为我的 azure 订阅进行资源管理。我的连接对象如下所示:
AzureCredentials credentials = GenerateCredentials(); // custom method that returns my creds.
IAzure azureConn = Azure
.Configure()
.Authenticate(credentials)
.WithDefaultSubscription();
这很好用。今天,我用Nuget(12.4版)安装了Azure.Storage.Blobs包。安装此包后,出现错误:
> CS0234 C# The type or namespace name 'Configure' does not exist in the
> namespace 'Azure' (are you missing an assembly reference?)
当我卸载Azure.Storage.Blobs 包时,错误消失了。这里可能发生了什么?我在 Net Core 2.2 MVC 项目中使用它。
【问题讨论】:
标签: azure asp.net-core azure-blob-storage azure-fluent-api