Hi all:

 

Am getting this intermittently while compiling a project.

Its compiles fine but does this for each and every source file, retarding my compile cycle from 10 seconds to almost 3 minutes..

 

Appreciate any help..

 

Eg:

=========================================================================================================

[resgen] Starting 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe ("D:\Nant\1215\myESG\dcweb\Src\DCWebUI\Very.DCWeb.UI\UnProtected\WebConference\Seminars.aspx.resx" "D:\Nant\1215\myESG\dcweb\Src\DCWebUI\Very.DCWeb.UI\UnProtected\WebConference\Seminars.aspx.resources")' in 'D:\Nant\1215\myESG\dcweb\Src\DCWebUI\Very.DCWeb.UI'

                                                                        Read in 3 resources from 'D:\Nant\1215\myESG\dcweb\Src\DCWebUI\Very.DCWeb.UI\UnProtected\WebConference\Seminars.aspx.resx'

                                                                        Writing resource file...  Done.

                                                      [csc] Found resource linkage 'Very.DCWeb.UI.UnProtected.WebConference.Splash' in dependent file 'D:\Nant\1215\myESG\dcweb\Src\DCWebUI\Very.DCWeb.UI\UnProtected\WebConference\Splash.aspx.cs'.

=========================================================================================================

 

 

Thanks,

Vishal Kulshrestha

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 12:58 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] log4net version mismatch

 


Hi,

I am trying to execute cvs-checkout and getting this error
Can you suggest me the solution for this problem

Thanks
Pavan

INTERNAL ERROR

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for "NAnt.SourceControl.Tasks.AbstractCvsTask" threw an exception. ---> System.IO.FileLoadException: The located assembly's manifest definition with name 'log4net' does not match the assembly reference.
File name: "log4net"
   at NAnt.SourceControl.Tasks.AbstractCvsTask..cctor()

=== Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.0.30714, Culture=neutral, PublicKeyToken=b32731d11ce58905
 (Fully-specified)
LOG: Appbase = C:\Program Files\Corillian\Voyager\SDK\1.0.729\codegen\
LOG: Initial PrivatePath = NULL
Calling assembly : NAnt.SourceControlTasks, Version=0.84.1455.0, Culture=neutral, PublicKeyToken=null.
===

LOG: Redirect found in application configuration file: 1.2.0.30714 redirected to 1.2.1.0.
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.1.0, Culture=neutral, PublicKeyToken=b32731d11ce58905
LOG: Attempting download of new URL file:///C:/Program Files/Corillian/Voyager/SDK/1.0.729/codegen/log4net.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN

   --- End of inner exception stack trace ---
   at NAnt.SourceControl.Tasks.AbstractCvsTask..ctor()
   at NAnt.SourceControl.Tasks.CheckoutTask..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at NAnt.Core.TaskBuilder.CreateTask()
   at NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj)
   at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target)
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Reply via email to