0

我刚刚在我的 VS 项目上安装了 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。有任何想法吗?

4

1 回答 1

2

我通过安装 WCF Data Services 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
于 2013-10-15T07:16:14.197 回答