views:

48

answers:

1

I'm not sure if maybe I'm just not finding the correct information. But the OData story on windows phone 7 seems to be incomplete. I've followed the steps in this blog post:
http://dotnetspeak.com/index.php/2010/03/windows-phone-7-application-with-odata/

This generated the expected client types as described. Unfortunately, when I add the class and reference to my windows phone client app (System.Data.Services.Client.dll) and compile, I'm receiving 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?)

So am I missing something? all I need is to be able to query an odata data service. If there is another way, technique, or library, I'm open to using that.

+1  A: 

OData v2 was released last week (Read the announcement here). Chris Koenig has a very nice post summarizing the changes in his blog post here. You need to download the latest OData client library from Codeplex, specifically this revision. Chris Koenig's tutorial should point you to the right direction. Always remember to add a reference to the OData client assembly.

HTH, indyfromoz

indyfromoz