将 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:
- 已加载 WP7FacebookAzure 解决方案
- 升级解决方案以使用 Windows Phone SDK 7.1
- 完全删除了 System.Data.Services.Client 项目
- 添加了来自 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.