简体   繁体   中英

StorageClient does not exist in the namespace using Microsoft.WindowsAzure

This code was working previously but on updating nuget packages something seems to have gone awry. If I add in the Microsoft.WindowsAzure.StorageClient dll that had previously been deployed then it is not recognising the Cloud classes such as CloudBlobClient which I am using WindowsAzure.Storage nuget 4.2

I need this to be able to write to azure file services so cannot simply uncomment

Microsoft.WindowsAzure.StorageClient namespace does not exist in the new Microsoft.WindowsAzure.Storage.dll. I would strongly recommend removing all references to Microsoft.WindowsAzure.StorageClient.dll and changing the code to use the new library.

If you still cannot see Microsoft.WindowsAzure.Storage after these steps, you can try uninstalling the NuGet package and reinstalling it.

虽然Microsoft.WindowsAzure.StorageClient DLL可能已过时 ,但我成功地从https://nuget.org/packages/AzureSDK2.2DLLs/手动下载它并将其安装到Visual Studio 2013社区(使用其他答案中说明 )。

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