Hi,

Downloaded NAnt 0.85 Release Candidate 3 earlier today and now creating my first .build file. One of the first tasks I tried was to run cvs-pass and for some reason I always get internal error. My target is like this:

   <target name="cvslogin" description="get latest source from cvs">
       <cvs-pass cvsroot=":pserver:[EMAIL PROTECTED]:2401/usr/src/cvsroot"
        password="xxxx"
        passfile="C:\cvspass.txt" />
   </target>

And the Internal Error is the following. Note I am using log4net in my msdev solution. Hope you can help.

Kristjan


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.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:\Program Files\NAnt\nant-0.85-rc3\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:/Program Files/NAnt/nant-0.85-rc3/bin/log4net.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to