简体   繁体   中英

What version of WindowsAzure.Storage is supported by Azure Functions v3?

I am using Azure Functions V3 with runtime stack of dot net 3.1, and have a business logic of Storage Blob handling using WindowsAzure.Storage SDK of version 9.3.3. When I run the function app, I get this error:

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)'.'

I would like to know what version of WindowsAzure.Storage SDK is compatible with Azure Functions V3. Any help on this would be appreciated.

For .NET applications, the new extension version also changes the types that you can bind to, replacing the types from WindowsAzure.Storage and Microsoft.Azure.Storage with newer types fromAzure.Storage.Blobs and also notified in the following documentation .

在此处输入图像描述

This SO Thread helps you from how to replace Microsoft.WindowsAzure.Storage with Microsoft.Azure.Storage.Blob .

If you are working with the WindowsAzure.Storage.Queue with.Net 3.1, then please refer here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM