I presume you're using some pre-dinosaur Nant version. Can you download the latest stable build and try again?
In general you should invoke nant in a directory where "nant.build" is located not in the subdirectories. Jarek ----- Original Message ----- From: "Martin Gainty" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004 3:55 PM Subject: [Nant-users] NANT Maladies > I am a newbie to NANT and wanted to see if i could get it working > > C:\Nant\nant-0.8.3.50105\tests\NAnt.Win32>nant > > Unhandled Exception: System.TypeInitializationException: The type > initializer fo > r "NAnt.Console.ConsoleStub" threw an exception. ---> > System.TypeInitializationE > xception: The type initializer for "log4net.spi.LoggerManager" threw an > exceptio > n. ---> System.MissingMethodException: Method not found: Void > System.EventHandle > r..ctor(System.Object, IntPtr). > at log4net.spi.LoggerManager..cctor() > at log4net.spi.LoggerManager.GetLogger(Assembly domainAssembly, String > name) > at log4net.LogManager.GetLogger(Type type) > at NAnt.Console.ConsoleStub..cctor() > at NAnt.Console.ConsoleStub.Main(String[] args) > > What is wrong?? > > Many Thanks. > > Martin Gainty > > (cell) 617-852-7822 > > _________________________________________________________________ > Tax headache? MSN Money provides relief with tax tips, tools, IRS forms and > more! http://moneycentral.msn.com/tax/workshop/welcome.asp > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users