From: Joel G. <jo...@gm...> - 2005-11-08 23:48:21
|
Yeah, I'm just gonna be a pain in the butt for awhile, I guess Using NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) 1. Using the cvs-checkout task like so: <cvs-checkout =09=09cvsroot=3D"${cvsroot}" =09=09passfile=3D"${cvspassfile}" =09=09destination=3D"${tempdir}\${AppFolder}" =09=09module=3D"cms" /> seems to result in this gnarly error about log4net: [cvs-checkout] Unhandled Exception: System.Reflection.TargetInvocationExcep= tion: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: The located assembly's manifest definition with name 'log4net' does not match the assembly reference. [cvs-checkout] File name: "log4net" [cvs-checkout] at ICSharpCode.SharpCvsLib.Console.ConsoleMain..ctor() Also, I've noticed that it's using the wrong machine config file: [cvs-checkout] LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config. It should be using C:\WINNT\Microsoft.NET\Framework\v1.1.4322 I have this in my build file: <property name=3D"nant.settings.currentframework" value=3D"net-1.1" /> But to no avail. Any ideas? TIA Joel |