Reputation: 2742
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.
Upvotes: 0
Views: 859
Reputation:
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 from Azure.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.
Upvotes: 2