Eric, can you give us a list of the steps of how you upgraded and went back? Did you just unzip the distribution to a directory? Are you sure you are using the version of nant you expect? Can you check your path for other copies of nant.exe? Are you running nant.exe from a network share?
I have many version of nant on my system and always make sure to run nant.exe explicitly from the directory and distribution I want. You should be able to have as many side-by-side installation of nant as you want. Also, what version of the framework are you using. Are you using the pre-built version of the binaries (in the distribution), or have you compiled your own version? ----- Original Message ----- From: "Eric Fetzer" <[EMAIL PROTECTED]> To: "NAnt Developers" <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 11:41 AM Subject: [nant-dev] Upgraded then Downgraded and It won't work anymore > Sorry for the long title, I was trying to be > descriptive. I grabbed the latest nightly build and > tried to use it. It didn't work for me, so I went > back to NAnt 0.8.3 final again. Now for some reason > it won't work. When I do a nant -help, I get: > > > Unhandled Exception: > System.TypeInitializationException: The type > initializer for "NAnt.Console.ConsoleStub" threw an > excepti > on. ---> System.TypeInitializationException: The type > initializer for "log4net.spi.LoggerManager" threw an > exception. ---> Sy > stem.Security.SecurityException: Request for the > permission of type > System.Security.Permissions.SecurityPermission, > mscorlib, > Version=1.0.3300.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089 failed. > at log4net.spi.LoggerManager..cctor() > > The state of the failed permission was: > <IPermission > class="System.Security.Permissions.SecurityPermission, > mscorlib, Version=1.0.3300.0, Culture=neutral, > PublicKeyT > oken=b77a5c561934e089" > version="1" > Flags="ControlAppDomain"/> > > --- End of inner exception stack trace --- > at log4net.spi.LoggerManager.GetLogger(Assembly > domainAssembly, String name) > at log4net.LogManager.GetLogger(Type type) > at NAnt.Console.ConsoleStub..cctor() > --- End of inner exception stack trace --- > at NAnt.Console.ConsoleStub.Main(String[] args) > > > I would extremely appreciative to anyone who could > help me out with a fix. I'm supposed to be doing a > build now. > > Thanks, > Eric > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > nant-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > > ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
