Search code examples
c#windows-phone-8xamarinportable-class-libraryazure-mobile-services

Azure Mobile Services in a PCL project that includes WP8


Is it possible to inlcude AzureMobileServices client in a PCL that includes WP8?

I used to have a PCL project that had it up until I upgraded it to VisualStudio 2013.

The required PCL is profile78: .NET4.5, Windows Store apps (Win8), WP8, and the Xamarin twins.

I tried following this recommendation from Xamarin to reference the component's DLL directly, however the DLL was compiled for profile7 (that does not include WP8).


Solution

  • Yes. Make sure you are using at least version 1.1.5 of the Mobile Services NuGet package or Xamarin Component and you will be able to successfully use it from a PCL that includes WP8. For a tutorial on how to do this, see here.