Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Monodroid with Windows Azure Mobile Services - System.Runtime reference error

$
0
0

When I add this line:

private readonly MobileServiceClient _mobileServicesClient = new MobileServiceClient(AzureConfig.MobileServicesUri, AzureConfig.MobileServicesApplicationKey);

to my android project after installing the Azure Mobile Services component I get the following error:

The type System.IDisposable' is defined in an assembly that is not referenced. Consider adding a reference to assemblySystem.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' (CS0012) (SomeCo.Mobile.Droid) That exact same line of code works fine in the iOS project.

I can't add a reference to System.Runtime - it's in mscorlib

Has anyone seen this before?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>