Hello Rolf, I get an exception:
Unhandled Exception: System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in <filename unknown>:0 at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in <filename unknown>:0 at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in <filename unknown>:0 at IPs.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in <filename unknown>:0 at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in <filename unknown>:0 at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in <filename unknown>:0 at IPs.Main () [0x00000] in <filename unknown>:0 I've been able to deploy in release, what triggers the issue is when I check emit debugging information in the project settings. -- Matt On Wed, Dec 7, 2011 at 3:33 AM, Rolf Bjarne Kvinge <[email protected]> wrote: > > > On Wed, Dec 7, 2011 at 2:35 AM, Matthieu Laban < > [email protected]> wrote: > >> a) Can you build and run using the simulator? >>> >> >> Yep, it works fine. >> If that's any help at all, building a sample project with X-Code works >> and deploys fine. >> > >> >>> b) Can you build for device if you enable USB debugging (MonoDevelop >>> Preferences -> Preferences/Debugger/iPhone Debugger)? >>> >> >> I'm already on USB mode. Didn't touch this option. >> > > OK, I wrote this particular error for wifi only, but I got some boolean > logic wrong and it ends up being checked for both wifi and usb connections. > > The problem is that mono doesn't detect any network adapters on your > machine for some reason. I've attached a simple test program, can you run > it and reply with the output (just compile and run with 'mcs test.cs && > mono test.exe")? > > Rolf >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
