简体   繁体   English

WCF数据服务5.0

[英]WCF Data Services 5.0

I recently updated to Visual Studio 2012 and now, when I create a new WCF Data Service in my MVC project, AppHarbor seems to be missing the assembly for Microsoft.Data.Services 5.0. 我最近更新到了Visual Studio 2012,现在,当我在MVC项目中创建新的WCF数据服务时,AppHarbor似乎缺少Microsoft.Data.Services 5.0的程序集。 Anyone was able to work around this problem? 任何人都可以解决此问题? Or anyone knows if AppHarbor is planning on supporting WCF DS 5.0? 还是有人知道AppHarbor是否计划支持WCF DS 5.0?

The problem is, whenever I add the assembly to my project, my project complains about conflicts between System.Data.Services and Microsoft.Data.Services. 问题是,无论何时将程序集添加到项目中,我的项目都会抱怨System.Data.Services与Microsoft.Data.Services之间的冲突。 If I remove System.Data.Services, then my ODataContext class throws errors saying it can't find the IUpdatable interface. 如果删除System.Data.Services,则我的ODataContext类将引发错误,指出无法找到IUpdatable接口。

Any ideas? 有任何想法吗?

Thanks! 谢谢!

Have you tried to install Data Services from NuGet and use NuGet package restore to have AppHarbor fetch the package? 您是否尝试过从NuGet安装数据服务并使用NuGet软件包还原来让AppHarbor提取该软件包?

You should probably resolve the conflict too - there are more details here . 你或许应该解决冲突太-有更多的细节在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM