locked
为什么可移植类库中不能添加服务引用ODATA RRS feed

  • Question

  • 环境:WIN8 专业 64位

    VS2012

    WP8 SDK

    WP8和应用商店的ODATA工具也安装了

    在WP8应用程序中,应用商店应用程序中都能添加服务引用ODATA,唯独不能在可移植类库中这么做,WHY????

    能找到WCF就是加不了。报:

    由于没有为此目标框架安装
    WCF 数据服务,因此无法添加对指定的 OData 源的服务引用。若要安装受支持版本的
    WCF 数据服务,请参阅
    http://go.microsoft.com/fwlink/?LinkId=253653。

    但是链接中的2个工具都装了,这不科学!!!

    Monday, December 17, 2012 8:09 AM

Answers

  • OData libraries (wither WCF DS Client or ODataLib) are not part of the portable library subset (yet), so they can't be referenced by a portable library project.

    Thanks,


    Vitek Karas [MSFT]

    • Marked as answer by 柯小南 Wednesday, December 19, 2012 2:57 AM
    Tuesday, December 18, 2012 9:03 AM
    Moderator

All replies

  • Hi,

    This forum is in English, please post your question in English!

    Thanks,


    Vitek Karas [MSFT]

    Monday, December 17, 2012 9:13 AM
    Moderator
  • windows phone, App Store All OK

    http://go.microsoft.com/fwlink/?LinkId=253653  All installed

    Why portable class library can not reference ODATA?

    Tuesday, December 18, 2012 3:08 AM
  • OData libraries (wither WCF DS Client or ODataLib) are not part of the portable library subset (yet), so they can't be referenced by a portable library project.

    Thanks,


    Vitek Karas [MSFT]

    • Marked as answer by 柯小南 Wednesday, December 19, 2012 2:57 AM
    Tuesday, December 18, 2012 9:03 AM
    Moderator