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

Issue with azure mobile services

$
0
0

Hi everybody,

i'll hope discussion is the correct thread type for this.

Before I come to the issue itself, just a little bit context.

Im developing at the moment an Android App using Xamarin for Visual Studio. The app itselfs consumes some Windows Azure Mobility Services. Most stuff is communicating over REST, and the Mobile Services Library.

My issue itself appears only when i started the app on my device in Release mode. On Debug its fine.

I tried to change some build settings to find out where the issue could come from. And on changing Linking from "Sdk Assemblys Only" to "None", it worked fine. On Debug i had selected "Sdk Assemblys Only" and "Use Shared Runtime".

I got the following message from the service: "Argument cannot be null. Parmeter Name: method"

Any suggestions or questions :) ?

Thank you

PS: Thats the line which causes the error:

var rounds = mc.Client.GetTable<sg_gamesessions_data>();
List<sg_gamesessions_data> lstRounds = await rounds.Where(a => a.sessionId == gameId)
                                                   .ToListAsync();

Viewing all articles
Browse latest Browse all 204402

Trending Articles



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