无法加载文件或程序集'Microsoft.Data.Services.Client,Version = 5.5.0.0

时间:2013-10-14 12:01:21

标签: wcf sharepoint visual-studio-2012

我刚刚在我的VS Projects上安装了WCF Data Services Server 5.5.0,一个使用控制台应用程序,一个使用sharepoint viual webpart项目。但是,当我在SharePoint页面中添加Web部件时出现错误,这是我得到的错误:

无法加载文件或程序集“Microsoft.Data.Services.Client,Version = 5.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35”或其中一个依赖项。系统找不到指定的文件。

在VS中

我指向存储dll的正确目录,并且选项Copy Local为true。有什么想法吗?

1 个答案:

答案 0 :(得分:2)

我通过安装WCF Data Services 5.6.0解决了这个问题。 从here

下载

请按照以下步骤操作:

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