Hi, > > > I try executing Nant latest on win2k/.net framework 1.1, it throws the > System.TypeInitializationException > > > Unhandled Exception: System.TypeInitializationException: > The type initializer for "SourceForge.NAnt.ConsoleStub" threw an exception. > ---> System.TypeInitializationException: > The type initializer for "log4net.spi.LoggerManager" threw an exception. > ---> System.Security.SecurityException: > Request for the permission of typ > e System.Security.Permissions.SecurityPermission, mscorlib, > Version=1.0.5000.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, Ve > rsion=1.0.5000.0, Culture=neutral, PublicKeyToken=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 SourceForge.NAnt.ConsoleStub..cctor() > --- End of inner exception stack trace --- > at SourceForge.NAnt.ConsoleStub.Main(String[] args) > > > Can some one tell me the reason for this
i try changing the order in nant.exe.config file, but does not work always <startup> <supportedRuntime version="v1.1.4322" /> <supportedRuntime version="v1.0.3705" /> </startup> do any one have the soln for this > > Regards > Sachin > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users