Not quite sure what the issue is/was, but I changed my example to call a different web service and everything worked properly.
Wally From: theevilprogram...@hotmail.com To: monodroid@lists.ximian.com Date: Fri, 9 Dec 2011 21:27:16 -0500 Subject: Re: [mono-android] webservices not working in release mode Thanks for the suggestions. Unfortunately, no luck on trying these here. Results inline. Any other suggestions are welcome. Wally Date: Fri, 9 Dec 2011 21:39:23 +0100 From: edmetsel...@gmail.com To: monodroid@lists.ximian.com Subject: [mono-android] webservices not working in release mode I am preparing our app for release. The app talks against several sharepoint webservices. And it was behaving perfectly in debug mode, when I switched it to release mode it stopped working. To potentially spare other people the same frustrations I experienced. I want to share a small checklist1) on the build tab check "Generate serialization assembly" is set to off (http://stackoverflow.com/questions/5792193/error-building-a-release-version-when-referencing-a-web-service) - tried this, but all I got was a compile time error. 2) do you have the INTERNET permission (from this list http://mono-for-android.1047100.n5.nabble.com/WebServices-not-working-in-Release-Mode-Signed-apk-td4362833.html) - Had this, so I was good here. 3) on the mono for android tab the linking setting if you have followed http://docs.xamarin.com/android/tutorials/Preparing_Package_for_Android_Marketplace, you probably have the setting linking set to "sdk and user assemblies" like i did. In my case that was not such a great idea, my webservice did not return to much results anymore. Try to set the linking to "sdk assemblies only". Perhaps the screenshot from the Xamarin site should be changed, after reading up it looks like linking also user assemblies seems more risky. - Nothing different on this. Tried all three possible values. Looking back it looks like a small list but it kept me busy 6 hours ;), so i hope it will help somebody else... _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid