本文介绍了使用Microsoft.WindowsAzure的命名空间中不存在StorageClient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此代码以前可以正常工作,但是在更新nuget软件包时似乎出现了问题.如果我添加以前已部署的Microsoft.WindowsAzure.StorageClient dll,则它无法识别我正在使用WindowsAzure.Storage nuget 4.2的Cloud类,例如CloudBlobClient

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 DLL可能过时了 ,我成功地从 https://nuget.org/packages/AzureSDK2.2DLLs/并将其安装到Visual Studio 2013社区(使用另一个答案中的说明).

Although the Microsoft.WindowsAzure.StorageClient DLL is likely outdated, I succeeded to download it manually from https://nuget.org/packages/AzureSDK2.2DLLs/ and install it to Visual Studio 2013 Community (using the instructions from another answer).

这篇关于使用Microsoft.WindowsAzure的命名空间中不存在StorageClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 15:12