Julien, The NAnt build files for log4net do not yet support targeting the Mono 2.0 profile.
I'll look into fixing this in svn (so it should work fine in the next release). Could it be that you're using an old version of Mono ? I think you're running into an issue that was fixed a while ago (in Mono). BTW, what version of NAnt are you using ? Gert > -----Original Message----- > From: Julien Sobrier [mailto:[EMAIL PROTECTED] > Sent: zaterdag 5 november 2005 6:40 > To: [email protected] > Subject: Problem to compile log4net 1.2.9 > > Hello, > I have to compile log4net 1.2.9 to make him use the 2.0.0.0 version of > System.Data. I use NAnt and lib/mono/2.0/gmcs.exe and Mono > 1.1.9.2/Linux > > I got the following error: > > compile-mono-1.0: > > [csc] Compiling 201 files to > '.../log4net/bin/mono/1.0/debug/log4net.dll'." > [csc] error CS0535: > `log4net.Config.Log4NetConfigurationSectionHandler' does not implement > interface member > `System.Configuration.IConfigurationSectionHandler.Create(object, > object, System.Xml.XmlNode)' > [csc] /usr/lib/mono/1.0/System.dll: > `System.Configuration.IConfigurationSectionHandler.Create(object, > object, System.Xml.XmlNode)' (name of symbol related to previous error > [csc] Compilation failed: 1 error(s), 0 warnings > > BUILD FAILED - 0 non-fatal error(s), 2 warning(s) > > Any idea to fix this? > > > Thank you > Julien >
