2013-10-14 58 views
0

我刚刚在我的VS项目上安装了WCF Data Services Server 5.5.0,一个使用控制台应用程序,另一个使用Sharepoint viual webpart项目。但是,当我在我的SharePoint页面中添加Web部件时出现错误,这是我得到的错误:无法加载文件或程序集'Microsoft.Data.Services.Client,版本= 5.5.0.0

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

在VS我指向正确的目录,其中存储的DLL和选项复制本地是真实的。有任何想法吗?

回答

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 
相关问题