将 System.Data.Services.Client 引用添加到 windowsphone7.1 sdk 时出错 [英] Error adding System.Data.Services.Client reference to windowsphone7.1 sdk

查看:41
本文介绍了将 System.Data.Services.Client 引用添加到 windowsphone7.1 sdk 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在问我的第一个问题后Windows Phone 7.1 应用访问 Azure直接存储,我下载了wp7facebookazure wp7.0示例.

After asking my first question Windows Phone 7.1 app accessing Azure Storage directly, I download wp7facebookazure wp7.0 sample.

在我从 http://wp7azurequickstarts.codeplex.com/releases/view 下载 wp7facebookazure 示例之后/65745,我编译了 WindowsPhoneCloud.StorageClient 库,我看到它正在使用自定义 System.Data.Services.Client 库.

After i downloaded wp7facebookazure sample from http://wp7azurequickstarts.codeplex.com/releases/view/65745, I compiled WindowsPhoneCloud.StorageClient library, I see it is using custom System.Data.Services.Client library.

将示例更改为使用 windowsphone7.1 sdk,然后添加 System.Data.Services.Client 引用后,出现以下错误:

After I change the sample to use windowsphone7.1 sdk and then I add System.Data.Services.Client reference, I get following error:

Microsoft Visual Studio
A reference to a higher version or incompatible assembly cannot be added to the project.

如何使用 windowsphone7.1 sdk System.Data.Services.Client 参考?

How I can use windowsphone7.1 sdk System.Data.Services.Client reference?

推荐答案

这是我在我的机器上尝试过的:

Here is what I tried in my machine:

  1. 已加载 WP7FacebookAzure 解决方案
  2. 升级解决方案以使用 Windows Phone SDK 7.1
  3. 完全删除了 System.Data.Services.Client 项目
  4. 添加了来自 C:\Program Files (x86)\Microsoft SDKs\Microsoft Data Framework\Phone\v7.1\bin\System.Data.Services.Client.dll 的 System.Data.Services.Client 引用

有一些错误需要您解决,但是使用上述步骤我能够将 System.Data.Services.Client.dll 集成到 WP7FacebookAzure 解决方案中.

There were some error which you work to remove however using above steps I was able to integrate System.Data.Services.Client.dll in WP7FacebookAzure solution.

这篇关于将 System.Data.Services.Client 引用添加到 windowsphone7.1 sdk 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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