类型或名称空间名称“存储"在名称空间"Microsoft.WindowsAzure"中不存在 [英] The type or namespace name 'Storage' does not exist in the namespace 'Microsoft.WindowsAzure'

查看:64
本文介绍了类型或名称空间名称“存储"在名称空间"Microsoft.WindowsAzure"中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已更新为Visual Studio 2013 Update 2 RC和Azure SDK 2.3.

I updated to Visual Studio 2013 Update 2 RC and to Azure SDK 2.3.

现在出现以下错误:

The type or namespace name 'Storage' does not exist in the namespace 'Microsoft.WindowsAzure'

在所有这三个方面:

using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;

如果我使用命名空间删除它们,则会收到错误消息:

If I remove these using namespaces then I get the error:

找不到类型或名称空间名称"CloudBlobClient"(是您缺少using指令或程序集引用吗?)

The type or namespace name 'CloudBlobClient' could not be found (are you missing a using directive or an assembly reference?)

在此行上:

CloudBlobClient _blobClient;

我在VS中得到一点下划线,建议我添加:

and I get the little underline in VS suggesting that I add in :

使用Microsoft.WindowsAzure.Storage.Blob;

using Microsoft.WindowsAzure.Storage.Blob;

VS告诉我的那个名称空间不存在.

Which is the same namespace that that VS is telling me does not exist.

有什么想法吗?

推荐答案

5月12日,Microsoft在NuGet上发布了WindowsAzure.Storage 4.0.从3.1升级到此程序包可解决此问题.

On May 12th Microsoft released WindowsAzure.Storage 4.0 on NuGet. Upgrading to this package from 3.1 fixes the issue.

这篇关于类型或名称空间名称“存储"在名称空间"Microsoft.WindowsAzure"中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆