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 

Regards
Sachin









-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to