Reputation: 2437
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).
Upvotes: 2
Views: 167
Reputation: 8415
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.
Upvotes: 2
Reputation: 2367
It looks like their nuget package only includes directories for Store, .Net 4.5, Wp8, and Portable-Store+.Net 4.5. However if I ildasm the dll in the portable folder I see it was built for Profile78, which does support phone.
This looks like a bug with the WindowsAzure.MobileServices.nupkg nuspec authoring.
Upvotes: 1