Using Azure Mobile Services in Portable Class Libraries

It’s now possible using Mobile Services from PCL’s for your data access. Just add the Windows Azure Mobile Services NuGet package to your Portable Class Library and you should be ready to go.

Bcl.Async Error

When I added my package I got some errors however. A prerequisite is having NuGet of version 2.1 or later, but mine was over that.

*(If your’s is of a lower version, make sure to upgrade in Visual Studio via Tools -> Extensions and Updates…)

The solution

Seems the Mobile Services package isn’t going to work with Windows Phone 7 and higher selected, so the trick was to raise the version for supported Windows Phone OS to 7.5.

Using Azure Mobile Services in Portable Class Libraries now possible!
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.