I have developed an app on Xamarin.iOS using Azure Mobile Services component, it has been working fine, just today I made some changes and then I started getting this exception. No matter what I do, it still thinks that this .Ext library is missing
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.
I have made sure to remove and install the component via Xamarin.Studio, I have also added manual reference to the libraries (with the platform-specific extension) but still no use.
Any ideas?
I found the solution in this blog post
Appearantly I missed one line in the set up of the Mobile Services on the mobile, which is:
CurrentPlatform.Init();
Once I added this line, the problem is gone. It must have been using old dlls before I cleaned up the solution and moved some code around then it started breaking. Adding the line above fixed it for me, and hope it helps somebody else.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With