Calling nant.exe from command line on a local drive.

Unhandled Exception: System.TypeInitializationException: The type initializer 
for 'NAnt.Console.ConsoleStub' threw an exception. ---> 
System.IO.FileLoadException: Could not load file or assembly 'log4net, 
Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905' or one of 
its dependencies. Access is denied.
File name: 'log4net, Version=1.2.9.0, Culture=neutral, 
PublicKeyToken=b32731d11ce58905'
   at NAnt.Console.ConsoleStub..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure 
logging.
To turn this feature off, remove the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
   at NAnt.Console.ConsoleStub.Main(String[] args)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to