I have some coden that does an HttpWebRequest to a remote web server.
A debug build works correctly in the emulator, but a release build
consistently throws a WebException containing the message
'NameResolutionFailure'. The exception is thrown when I call
GetResponse() on the HttpWebRequest object, and only occurs in a
release build.

My AndroidManifest.xml contains <uses-permission
android:name="android.permission.INTERNET" /> and its build action is
Content. I've tried restarting the emulator, and verified that other
applications running on the emulator (such as the web browser) can
access the internet and the remote web server.

I'm using Mono for Android 4.0.4 on Win7x86/VS2010.

Any thoughts on causes or things to try?

Thanks,

Andy
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to