wcf – 使用Microsoft.Data.Services.Client.dll而不是System.Da
我们有一个使用WCF 5.0和
WindowsAzure SDK的项目.
有两个引用Microsoft.Data.Services.Client.dll和System.Data.Services.Client.dll并且它们存在冲突.如果我删除系统DLL(根据this)我无法使用windowsAzure SDK.如果我删除Microsoft DLL,我无法利用WCF的新功能,特别是OData 3.0版. 删除系统DLL引用后:
附加信息:
如果我删除对Microsoft.Data.Services.Client的引用并添加对System.Data.Services.Client的引用,那么我们没有错误 – 我们也没有得到WCF 5.0! 解决方法
我能够很快地重现这个问题. Microsoft.WindowsAzure.StorageClient.Dll对System.Data.Service.Client.Dll具有直接引用依赖性,如下所示,因此,如果您要使用Azure Storage Client API,则必须引用System.Data.Service.Client.Dll在您的应用程序中,确保您不能使用WCF 5.0 SDK提供的oData 3.0.更多信息发布在以下SO问题中:
WCF 5.0 and oData 3.0 API not work with azure table storage (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 注入x64-process的x64-DLL挂钩x86-DLL,无法使用C和EasyHook
- windows – 如何管理服务帐户凭据(密码)?
- .net – Windbg期待mscordacwks.dll的不同版本
- 从本机dll生成C#DLLImport声明
- 关闭最后一个后,在Windows 2012 Server核心上打开一个新的c
- windows-sbs-2011 – SBS 2011“迁移后所有GC都已关闭”
- windows-7 – 跳过新的Windows 7用户选择并转到登录提示
- windows-server-2008 – Linux管理员的Windows服务器管理资
- wpf – Datagrid SelectedItem在window.IsEnabled = false时
- Windows上IDEA搭建最新Spark2.4.3源码调试的开发环境