无法加载文件或程序集"Microsoft.数据.服务.客户端,版本=5.5.0.0



我刚刚在我的VS项目上安装了WCF数据服务服务器5.5.0,一个使用控制台应用程序,另一个使用sharepoint viual webpart项目。但是,当我在 SharePoint 页面中添加 Web 部件时,我收到错误,这是我收到的错误:

无法加载文件或程序集"Microsoft.Data.Services.Client,版本=5.5.0.0,区域性=中性,公钥令牌=31bf3856ad364e35"或其依赖项之一。系统找不到指定的文件。

在VS中,我指向存储dll的正确目录,并且选项"本地复制"为真。有什么想法吗?

我通过安装 WCF 数据服务 5.6.0 解决了这个问题。从这里下载

请按照以下步骤操作:

1) Close all instances of VS
2) Install the exe
3) Test your Service (Normally I would get the error above at this step)
4) Close VS again and go to your exe and run it again
5) this time click on **Repair** button and that should solve your issue

最新更新