我有Azure存储SDK 2.0(内部包含存储客户端库1.7.0)。我使用下面的方法来从的拷贝的blob T.StartCopyFromBlob不适用于Azure
var blockBlob = blobContainer.GetBlockBlobReference(azureBlobName);
blockBlob.StartCopyFromBlob(new Uri(amazonObjectUrl), null, null, null);
但我收到以下错误:
Error 2 'Microsoft.WindowsAzure.StorageClient.CloudBlob' does not contain
a definition for 'CopyState' and no extension method 'CopyState' accepting a first argument
of type 'Microsoft.WindowsAzure.StorageClient.CloudBlob' could be found (are you missing a
using directive or an assembly reference?)
你能帮我吗?
您有使用存储客户端库1.7版的任何特定原因吗? –
不,没有理由为什么我想要使用** 1.7.0 **,但是当我从NuGet下载Azure存储包时,它会自动添加SCL 1.7.0。我想使用2.0或1.7.1,但我不能。 – iomca4u