Hi there,
Add a reference to System.Net to the top of your code file (using System.Net;
), and then try this:
foreach(IPAddress address in
Dns.GetHostByName(Environment.MachineName).AddressList) {
Console.WriteLine(address.ToString());
}
That simply prints out each IP address for your local
Aha, I think I might know why this is. Chris (Toshok) is currently doing lots
of good work in implementing the .Net 2.0 configuration API within Mono.
Yesterday he checked-in a load of changes, in a few different commits from what
I saw in the logs. Seeing as how I refreshed my working copy and
still very unhappy with the
Assembly.GetCallingAssembly()/GetEntryAssembly() crap.. there needs to
be a better way to do this, but coming up with tests of MS's behavior is
very hard.
Chris
On Thu, 2006-01-26 at 01:22 +, Elliott Draper wrote:
Hi guys,
Attached is a patch
I've had no problems using the MySql Connector/Net under Mono, in the package
available from the MySql site
(http://dev.mysql.com/downloads/connector/net/1.0.html) there are separate
binaries for .Net 1.0, 1.1, 2.0, and for Mono. I tend to use the .Net 2.0
binary actually, and that (for me at
Hi guys,
Attached is a patch for everyone's perusal, that fixes a bug in the
System.Web.UI.WebControls.ListControl class under the NET-2.0 profile, that
specifically shows itself when using a DropDownList or a ListBox control. It
appears that modifying the items collection on these controls
I'm not entirely sure IsSubclassOf is meant to return true for classes
implementing an interface? Certainly I've found that it hasn't in the
past, and instead I use GetInterface() I think it is, passing in the
name of the interface I'm looking for, and checking to see if that
returns the
http://dev.mysql.com/downloads/connector/net/1.0.html
On this page you'll find the cunningly titled Windows Source and
Binaries, no installer (ZIP), which I presume is what you were talking
about. In actual fact if you download the zip file, within the bin
folder, you'll find a mono-1.0
, Elliott Draper [EMAIL PROTECTED]:
http://dev.mysql.com/downloads/connector/net/1.0.html
On this page you'll find the cunningly titled Windows Source and
Binaries, no installer (ZIP), which I presume is what you were talking
about. In actual fact if you download the zip file, within the bin
Joe Audette wrote:
Is it possible to use the new 2.0 ASP.NET features that are currently
implemented in mono with mod_mono on apache2? Or can it only be done
using xsp2 from the command line?
What do I have to configure differently to make this happen?
I'm using Virtual Hosts in apache.
()));
return;
}
}
/// summary
/// This outputs the program logo
/// /summary
static void Logo()
{
Console.WriteLine(MonoScript: (c) 2005, Elliott Draper [EMAIL
PROTECTED]);
}
/// summary
/// This outputs
Bradley, Peter wrote:
I wonder if I might be forgiven for responding to myself in order to ask one
(hopefully final) question about mono-service?
Following the discussion here, I checked out some Windows services I've written and
everything seems fine except for one thing. The services I
in that? ;-)
Cheers
Peter
-= El =-
-Original Message-
From: Elliott Draper [mailto:[EMAIL PROTECTED]
Sent: 01 November 2005 13:49
To: Bradley, Peter
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Re: mono-service
Bradley, Peter wrote:
I wonder if I might be forgiven for responding
Bradley, Peter wrote:
Robert,
*snip*
OK. I'll play with that. The property has to be set, of course, which
means hard coding a path into code, which is something I like to avoid
where I can, but it doesn't seem too much of a risk in this situation.
Thank you.
That property doesn't have
I'd hazard a guess and say it's because you don't have a reference to
the relevant Gdk assemblies, or they can't be found in the path, gac
etc. As such when it's creating this object, it's coming unstuck because
that class is using a type that it can't find, hence when you change it
to using
Guys,
Is something up with the Mono website at the minute? When I try to visit
http://www.mono-project.com, I'm being greeted with what looks like the
main http://www.novell.com website, but without the style sheet. If it
helps, pinging www.mono-project.com resolves to
redirector.novell.com,
Hello everyone,
A while back, I joined the development team of a project that was then
called MonoIndigo. This was designed to be a port of Microsoft's
Indigo framework (now known as the Windows Communication Foundation). As
many of you know, Microsoft made it clear that any kind of direct
[EMAIL PROTECTED] wrote:
Hi,
Yes you can, and this has nothing to do with what I am trying to do.
Please read my original post. My problem has absolutely nothing to do
with capuring output from MY program.
I'm trying to capture output from existing linux Command Line program
like wget,
Hi all,
I've recently been having trouble building Mono from source (either the
source tarball, or from SVN) on one box I've got. I've built from source
countless times on other boxes without issues, but this one is being a
pain in the ass. Attached is the output from when I execute
+1,7 @@
+2005-08-03 Elliott Draper [EMAIL PROTECTED]
+ Fixed a spelling mistake in errors thrown by the compiler for a
missing/invalid strong name key file when building an assembly.
+ * codegen.cs: Replaced speficied with specified.
+
2005-08-03 Raja R Harinath [EMAIL PROTECTED
Huaiyang Mao wrote:
Hello,
I have installed mono 1.1.8.2 in Solaris and can compile the following
code with mcs -r:System.Windows.Forms Test.cs successfully. I tried
to start it mono Test.exe, but I could not get the simple Windows
Form showed. Could you help me to solve the problem? Many
Colin JN Breame wrote:
Hello,
I'm wondering whether there is such a thing as an interactive C# prompt for
mono. e.g. where commands can be entered and executed one-by-one.
If not, any ideas about how I would go about writting something like this?
Hi there,
You need to add a reference to the System.Web.Services assembly as it
must be using that within the class.
Try:
mcs /target:library GoogleSearchService.cs -r:System.Web.Services
Incidentally, when I tried to compile a file that required this
assembly, without it, as a test, the
site is broken. I'll have to finish what I'm
doing and then check it again.
Thank you!
Carl
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elliott Draper
Sent: Monday, June 06, 2005 6:19 AM
To: [EMAIL PROTECTED]
Cc: mono-list@lists.ximian.com
Subject: Re
The error that you're getting is coming straight back from the PgSQL database.
You need to free up some connections, and probably increase the maximum number
of connections at the server end to stop it happening again. You could also use
connection pooling in your app to try and limit the
Hi everyone,
I have released the first (beta) version of DNFS, a simple command line utility
that acts as an object browser for .Net/Mono assemblies.
It is available from:
http://www.ejdraper.org.uk/dnfs
It is lightheartedly called DotNetFileSystem, because you simply run the app
against an
25 matches
Mail list logo