Using Add Service Reference with OData services after installing Windows Phone SDK 8.0

DB Blogs

In this post, we will talk about how you can continue to consume OData v3 services after installing Windows Phone SDK 8.0.

If you are a developer who is using WCF Data Services to produce OData v3 services in Visual Studio 2012 and also only installed the new Windows Phone SDK 8.0 but not the OData Client Tools for Windows Phone Apps then you may experience a known issue.

After installing Windows Phone SDK 8.0 on your system which has Visual Studio 2012, you will be hitting a known issue if you:

  • have Visual Studio 2012 installed AND
  • installed Windows Phone SDK 8.0 AND
  • did not install the OData Client Tools for Windows Phone Apps AND
  • want to add or update a service reference for an OData v3 service

In this case, Add Service Reference will reference an older version of data services references instead of the version which supports OData v3. For this reason, you will not be able to immediately consume a v3 service. This is because the Windows Phone SDK 8.0 overwrites some settings which guides Add Service Reference to pull in the right references.

If you hit this issue, please re-run the latest WCF Data Services 5.0 for OData v3 installer. This will restore Add Service Reference for OData v3 services.

We apologize for this inconvenience.

0 comments

Discussion is closed.

Feedback usabilla icon