gpt4 book ai didi

azure - Azure Functions v3 支持哪个版本的 WindowsAzure.Storage?

转载 作者:行者123 更新时间:2023-12-03 05:23:44 25 4
gpt4 key购买 nike

我使用的是带有 dot net 3.1 运行时堆栈的 Azure Functions V3,并且使用版本 9.3.3 的 WindowsAzure.Storage SDK 处理存储 Blob 的业务逻辑。当我运行函数应用程序时,出现此错误:

System.MissingMethodException: 'Method not found: 'System.Collections.Generic.IEnumerable`1<Microsoft.WindowsAzure.Storage.Blob.IListBlobItem> Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer.ListBlobs(System.String, Boolean, Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions, Microsoft.WindowsAzure.Storage.OperationContext)'.'

我想知道哪个版本的 WindowsAzure.Storage SDK 与 Azure Functions V3 兼容。对此的任何帮助将不胜感激。

最佳答案

对于 .NET 应用程序,新的扩展版本还更改了您可以绑定(bind)的类型,将 WindowsAzure.StorageMicrosoft.Azure.Storage 中的类型替换为来自 Azure.Storage.Blobs 的较新类型并在以下通知 documentation .

enter image description here

此主题可以帮助您 how to replace Microsoft.WindowsAzure.Storage with Microsoft.Azure.Storage.Blob .

如果您在 .Net 3.1 中使用 WindowsAzure.Storage.Queue,请参阅 here .

关于azure - Azure Functions v3 支持哪个版本的 WindowsAzure.Storage?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70390866/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com