Menu

Monodevelop

After much struggling with the beast. I got MonoDevelop 2.8.5 installed and running in an Ubuntu virtual machine. I also got Tortoise Hg to work, so that makes me happy. The code even compiles in MonoDevelop.

So a few problems to look forward to. The NetworkComms.Net library makes use of a Windows API call to GetBestInterface in iphlpapi.dll. In Linux this fails silently, so the LocalIP property is not automatically set. This is bad because it is a behavior I was counting on. So it looks like I get to look forward to mangling that code to not do that. Now I get to code up something like this:

foreach (NetworkInterface ni in NetworkInformation.GetAllNetworkInterfaces ()) {
// Check that any or all of:
// -ni.OperationalStatus == OperationalStatus.Up
// -that ni.NetworkInterfaceType is ethernet or wireless80211
// -ni.GetIPProperties() has a gateway and a DNS server
// ...
}

Posted by nuclearydecay 2012-02-03

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.