Chris Sainty

A technical blog covering full-stack web development.

twitter | github | stackoverflow

Posts about - xamarin

, , ,

Quick Tip - Windows Azure Mobile Services and Xamarin

Having trouble adding Azure Mobile Services to your Xamarin project?
Seeing the following compiler error?

Warning: The referenced library 'Microsoft.WindowsAzure.Mobile.Ext.dll' is not used from any code, skipping extraction of content resources. (FriendsFromWorkMobile)

How about this exception?

A Windows Azure Mobile Services assembly for the current platform was not found. Ensure that the current project references both Microsoft.WindowsAzure.Mobile and the following platform-specific assembly: Microsoft.WindowsAzure.Mobile.Ext.

Don't despair, you missed one simple line when skimming the Getting Started tutorials.

CurrentPlatform.Init();

Rejoice!