-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Calling the method AzureBlobFileSystem.AzureBlobStorageProvider.RenameFile results in System.MissingMethodException. Using AzureBlobFileSystem, Version=0.0.7.0.
Using WindowsAzure.Storage Version=7.0.0 (see: https://www.nuget.org/packages/WindowsAzure.Storage), the method CloudBlockBlob.StartCopyFromBlob(Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob, Microsoft.WindowsAzure.Storage.AccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions, Microsoft.WindowsAzure.Storage.OperationContext) is Obsolete, see: https://msdn.microsoft.com/en-us/library/azure/microsoft.windowsazure.storage.blob.cloudblockblob.startcopyfromblob.aspx
An alternative pattern for performing Blob Rename (unoptimized):
- Get old blob as a stream
- Create new blob using stream from Added snk to project to allow for use in signed solutions #1
- Delete old blob