Title: Log4net/SharpCvsLib version number bug

Hi,

I've just found this

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/projects/BuildingSolution/MyFifthBuild.build.xml
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: build


build:


runGetLatest:


BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: The located assembly's manifest definition with name 'log4net' does not match the assembly reference.

File name: "log4net"
   at ICSharpCode.SharpCvsLib.FileSystem.Manager..ctor(DirectoryInfo workingDir)
   at NAnt.SourceControl.Tasks.CvsPass.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

=== Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905
 (Fully-specified)
LOG: Appbase = C:\devtools\nant\bin\
LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : ICSharpCode.SharpCvsLib, Version=0.36.4902.7334, Culture=neutral, PublicKeyToken=null.
===

LOG: Private path hint found in configuration file: lib.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905
LOG: Attempting download of new URL file:///C:/devtools/nant/bin/log4net.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number


Please send bug report to [EMAIL PROTECTED]

Total time: 0.1 seconds.
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

I've checked the manifest files and found that SharpCvsLib references log4net 1.2.9 but Nant is using 1.2.1.40796

Hope it helps.

Regards,

Mart�n Trejo Ch�vez

Divisi�n de Interoperabilidad
Toledo 21, 5� piso
Tel. 5238-2700 x11024

Reply via email to