Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 在Visual Studio(Windows Azure StorageClient)中添加引用时遇到困难_Visual Studio_Azure_Project Reference - Fatal编程技术网

Visual studio 在Visual Studio(Windows Azure StorageClient)中添加引用时遇到困难

Visual studio 在Visual Studio(Windows Azure StorageClient)中添加引用时遇到困难,visual-studio,azure,project-reference,Visual Studio,Azure,Project Reference,我一直在跟踪这件事。一切都很顺利,直到我谈到这一部分: 设置对StorageClient的引用 图书馆您可以添加 将示例项目添加到解决方案并添加 项目引用,或者您可以添加 对已编译dll的引用。我是 要添加StorageClient项目吗 添加到解决方案并添加项目 参考资料 我找不到StorageClient项目。我有sdkv1.2,它有samples-cs.zip。StorageClient不存在 SDK确实具有ref/Microsoft.WindowsAzure.StorageClient.

我一直在跟踪这件事。一切都很顺利,直到我谈到这一部分:

设置对StorageClient的引用 图书馆您可以添加 将示例项目添加到解决方案并添加 项目引用,或者您可以添加 对已编译dll的引用。我是 要添加StorageClient项目吗 添加到解决方案并添加项目 参考资料

我找不到StorageClient项目。我有sdkv1.2,它有samples-cs.zip。StorageClient不存在

SDK确实具有ref/Microsoft.WindowsAzure.StorageClient.dll。我尝试在我的ASP项目中添加对它的引用,但它不起作用。VS不识别类型TableStorage Entity,也不识别名称空间Microsoft.Samples.ServiceHosting.StorageClient


我做错了什么?我能在某处找到StorageClient并使用它吗?如果从SDK中删除,是否意味着不再支持它?如果是这样,为什么要使用DLL?

问题在于,您正在阅读的教程是2009年年中的,当时存储客户端库是作为SDK示例分发的附加组件

通过我看到您正在使用的最新SDK,Azure存储支持现在正式成为SDK的一部分。您要查找的参考是Microsoft.WindowsAzure.StorageClient

看一看-他们应该有更新的样本

另外:当您使用v1.2创建一个新的云项目时,您将看到自动获取对Azure dll的引用,而不需要手动添加它们。这包括:

Microsoft.WindowsAzure.Diagnostics Microsoft.WindowsAzure.ServiceRuntime Microsoft.WindowsAzure.StorageClient
问题在于,您正在阅读的教程是从2009年年中开始的,当时存储客户端库是作为SDK示例分发的附加组件

通过我看到您正在使用的最新SDK,Azure存储支持现在正式成为SDK的一部分。您要查找的参考是Microsoft.WindowsAzure.StorageClient

看一看-他们应该有更新的样本

另外:当您使用v1.2创建一个新的云项目时,您将看到自动获取对Azure dll的引用,而不需要手动添加它们。这包括:

Microsoft.WindowsAzure.Diagnostics Microsoft.WindowsAzure.ServiceRuntime Microsoft.WindowsAzure.StorageClient