OData on Windows Phone 7

I'm not sure, maybe I just won’t find the right information. But the OData story on a Windows 7 phone seems incomplete. I followed the steps in this blog post:
http://dotnetspeak.com/index.php/2010/03/windows-phone-7-application-with-odata/

This created the expected types of clients as described. Unfortunately, when I add a class and reference my application to connect to a Windows phone (System.Data.Services.Client.dll) and compile, I get the following error message:

The type or namespace name 'DataServiceQuery' does not exist in the namespace 'System.Data.Services.Client' (are you missing an assembly reference?) 

Am I missing something? all i need is to be able to query the odata data service. If there is another way, technique or library, I am open to using this.

+4
source share
1 answer

OData v2 was released last week ( Read the announcement here ). Chris Koenig has a very good publication summarizing the changes to his blog here . You need to download the latest version of the OData client library from Codeplex , in particular this version . Chris Koenig's study guide should point in the right direction. Remember to add the link to the OData client assembly.

Hh, indyfromoz

+2
source