Hello,
Can someone please help me resolve the following error that occurs
everytime I try to run NAnt -help after software installation. Thanks in
advance.
C:\Programming\NAnt\bin>nant -help
Unhandled Exception: System.TypeInitializationException: The type
initializer fo
r 'NAnt.Console.ConsoleStub' threw an exception. --->
System.TypeInitializationE
xception: The type initializer for 'log4net.Core.LoggerManager' threw an
excepti
on. ---> System.TypeInitializationException: The type initializer for
'log4net.U
til.LogLog' threw an exception. ---> System.IO.FileNotFoundException: Could
not
load file or assembly 'System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=
b77a5c561934e089' or one of its dependencies. The system cannot find the
file sp
ecified.
File name: 'System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c56193
4e089' ---> System.IO.FileNotFoundException: Could not load file or assembly
'Sy
stem, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
or o
ne of its dependencies. The system cannot find the file specified.
File name: 'System, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c56
1934e089'
Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msc
orwks.dll
Running under executable C:\Programming\NAnt\bin\NAnt.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = ASAP\Stolyarov
LOG: DisplayName = System, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b
77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///C:/Programming/NAnt/bin/
LOG: Initial PrivatePath = NULL
Calling assembly : log4net, Version=1.2.9.0, Culture=neutral,
PublicKeyToken=b32
731d11ce58905.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Programming\NAnt\bin\NAnt.exe.conf
ig
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2
.0.50727\config\machine.config.
LOG: Version redirect found in framework config: 1.0.3300.0 redirected to
2.0.0.
0.
LOG: Publisher policy file is not found.
LOG: Post-policy reference: System, Version=2.0.0.0, Culture=neutral,
PublicKeyT
oken=b77a5c561934e089
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/System.DLL.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/System/Syste
m.DLL.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/lib/System.D
LL.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/lib/System/S
ystem.DLL.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/System.EXE.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/System/Syste
m.EXE.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/lib/System.E
XE.
LOG: Attempting download of new URL
file:///C:/Programming/NAnt/bin/lib/System/S
ystem.EXE.
at log4net.Util.LogLog..cctor()
--- End of inner exception stack trace ---
at log4net.Util.LogLog.Debug(String message)
at log4net.Core.LoggerManager..cctor()
--- End of inner exception stack trace ---
at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly,
String n
ame)
at log4net.LogManager.GetLogger(Type type)
at NAnt.Console.ConsoleStub..cctor() in
d:\Source\nant-20051211T094754Z\src\N
Ant.Console\ConsoleStub.cs:line 275
--- End of inner exception stack trace ---
at NAnt.Console.ConsoleStub.Main(String[] args)
C:\Programming\NAnt\bin>
Max
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users