Hi!
I'd like to let you know about the new open source project called NLog
which is a simple but quite powerful logging library for .NET.
The design goals:
- ease of use (uses familiar WriteLine() style interface)
- maintainability (trivial to configure and re-configure)
- speed (uses zero
Does anyone have any passionate feelings about the usefulness of
the samples/ directory in CVS module monkeyguide? It's currently got
a number of useful examples, but the Makefiles seem to be windows-specific.
This isn't exactly a problem, but it makes it a little harder for
developers on Linux to
Hi guys!
I wanted to compile NLog under mono/linux and I'm getting very strange
compilation errors which seem to be related to the CLSCompliant attribute.
In src/NLog directory I do mcs -t:library -recurse:*.cs and it spits out
some error about CLSCompliant attribute not being found:
Hello:
I'm trying to do a build (on Windows) using a nant 0.85 snapshot and
mono 1.0.1 and i'm having problems, i'm getting always:
[delete] Deleting directory
'D:\NETProvider\NETProvider_17\builds\win32\ado.net\mono-1.0\bin\release'.
[mkdir] Creating directory
How do you update the contents of monodoc? I know there is a --update
switch and an update menu option which asks you for an url. What url
should I use or is there any other way of doing it?
___
Mono-list maillist - [EMAIL PROTECTED]
On Sat, 2004-08-21 at 22:35, Carlos Guzmán Álvarez wrote:
Hello:
I'm trying to do a build (on Windows) using a nant 0.85 snapshot and
mono 1.0.1 and i'm having problems, i'm getting always:
Hello:
Try using a colon not a semicolon.
Sorry my english, did you mean as ISO8859_1,UTF-8
( or ISO8859_1:UTF-8 )?? (It doesn't work)
--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain
One ring to rule them all
(The lord of the rings - J.R.R.Tolkien)
___
Why does this:
public MyClass() : base (Glade.XML gxml, Database database)
give me this error?
Keyword this or base expected(CS1018)
--
Rob Brown-Bayliss
This is wrong.
While calling the contructor, the gxml and database are undefined. If
you be appropriate to call as:
public MyClass(): base(null, null)
{
...
}
or better still:
public MyClass(): base( (Glade.XML) null, (Database) null )
{
...
}
Use the latter option if there are more than one
OK, so how do I pass args to the base class?
I thought:
MyClass my_class = new MyClass(gxml, database);
would pass gxml and database to the base class of MyClass?
This is wrong.
While calling the contructor, the gxml and database are undefined. If
you be appropriate to call as:
in constructor of your class:
class MyClass {
public MyClass(Glade.XML gxml, Database database)
: base(gxml, database) {
// rest of your construction logic goes here
}
you base class needs to be ready for the case if null objects were passed
and react accordingly.
On
of course this wont compile, since you class needs to be deriving from a
class which we will consider a base that has a constructor that takes your
type of arguments:
so to correct the below should look like this:
class MyBase {
public MyBase (Glade.XML gxml, Database database) {
12 matches
Mail list logo