> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > zhengjinyuan > Sent: zondag 9 januari 2005 16:04 > To: [email protected] > Subject: [Nant-users] nant on macosx > > when I run nant on macosx ,it tell me > > ps-Computer:/usr/local/src/nant pp$ mono bin/NAnt.exe > Compat mode: the request from /usr/local/src/nant/bin/log4net.dll to > load System.Xml was remapped (http://www.go-mono.com/remap.html) > Compat mode: the request from /usr/local/src/nant/bin/log4net.dll to > load System was remapped (http://www.go-mono.com/remap.html) > log4net:ERROR LogLog: Exception while reading ConfigurationSettings. > Check your .config file is well formed XML. > > Unhandled Exception: System.TypeInitializationException: An exception > was thrown by the type initializer for NAnt.Console.ConsoleStub ---> > System.TypeInitializationException: An exception was thrown > by the type > initializer for log4net.Core.LoggerManager ---> > System.TypeInitializationException: An exception was thrown > by the type > initializer for log4net.Util.LogLog ---> > System.TypeInitializationException: An exception was thrown > by the type > initializer for System.Diagnostics.TraceImpl ---> > System.Configuration.ConfigurationException: system.diagnostics does > not implement System.Configuration.IConfigurationSectionHandler () > in <0x00104> System.Configuration.ConfigurationData:CreateNewHandler > (string,System.Configuration.SectionData) > in <0x002dc> > System.Configuration.ConfigurationData:GetHandler (string) > in <0x000c8> > System.Configuration.ConfigurationData:GetHandler (string) > in <0x00064> System.Configuration.ConfigurationData:GetConfigInternal > (string) > in <0x00114> System.Configuration.ConfigurationData:GetConfig (string) > in <0x0003c> System.Configuration.DefaultConfig:GetConfig (string) > in <0x000c4> System.Configuration.ConfigurationSettings:GetConfig > (string) > in <0x00070> > System.Diagnostics.DiagnosticsConfiguration:get_Settings () > in <0x000d4> System.Diagnostics.TraceImpl:.cctor () > --- End of inner exception stack trace --- > > in (unmanaged) System.Diagnostics.TraceImpl:WriteLine (string) > in <0x00018> System.Diagnostics.Trace:WriteLine (string) > in <0x00014> System.Diagnostics.Trace:WriteLine (string) > in <0x0003c> log4net.Util.LogLog:EmitErrorLine (string) > in <0x00044> log4net.Util.LogLog:Error (string,System.Exception) > in <0x000bc> log4net.Util.LogLog:.cctor () > --- End of inner exception stack trace --- > > in (unmanaged) log4net.Util.LogLog:Debug (string) > in <0x00050> log4net.Core.LoggerManager:.cctor () > in <0x0004c> log4net.Core.LoggerManager:.cctor () > --- End of inner exception stack trace --- > > in (unmanaged) log4net.Core.LoggerManager:GetLogger > (System.Reflection.Assembly,string) > in <0x0002c> log4net.LogManager:GetLogger > (System.Reflection.Assembly,string) > in <0x00028> log4net.LogManager:GetLogger > (System.Reflection.Assembly,string) > in <0x0004c> log4net.LogManager:GetLogger (System.Type) > in <0x00038> NAnt.Console.ConsoleStub:.cctor () > --- End of inner exception stack trace --- > > anty tips ?
What version of Mono are you using ? 1.1.x ? If you are, then you're probably run into the following mono bug : http://bugzilla.ximian.com/show_bug.cgi?id=66237 You can work around this issue by removing the following element from the <startup> node of your NAnt.exe.config file : <supportedRuntime version="v2.0.40607" /> Let me know if that helped, Gert ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
