Hi, I'm trying to migrate from CruiseControl 1.3 to 1.4.4 SP1. My code repository is in TFS so I'm using the TFS plugin (http:// tfsccnetplugin.codeplex.com/Release/ProjectReleases.aspx? ReleaseId=1816).
On a clean installation, I follow the next procedure: 1. Install CC.NET 1.4.4 SP1 2. Copy the ccnet.vsts.plugin.dll file to the server folder 3. Copy my ccnet.config file 4. Run ccnet.exe The first time I do this, it works fine, one of the projects even starts to run successfully, but after that I stop the exe and try to run the service and it fails, if I try to run the executable again it also fails (see the details of the error below). I don't know if this is relevant, but one of the things I noticed is that the executable/service fails once a .state file has been generated or copied into the server folder. The error I'm getting is this: [1792:ERROR] INTERNAL ERROR: Could not load file or assembly 'NetReflector, Vers ion=1.0.0.120, Culture=neutral, PublicKeyToken=2f4dd8b32acbcd8e' or one of its d ependencies. The located assembly's manifest definition does not match the assem bly reference. (Exception from HRESULT: 0x80131040) ---------- System.IO.FileLoadException: Could not load file or assembly 'NetReflector, Vers ion=1.0.0.120, Culture=neutral, PublicKeyToken=2f4dd8b32acbcd8e' or one of its d ependencies. The located assembly's manifest definition does not match the assem bly reference. (Exception from HRESULT: 0x80131040) File name: 'NetReflector, Version=1.0.0.120, Culture=neutral, PublicKeyToken=2f4 dd8b32acbcd8e' at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst Count) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy peArguments, Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord (CustomAttrib uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool ean& isVarArg) at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp e, Boolean mustBeInheritable, IList derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes (RuntimeType type, Ru ntimeType caType, Boolean inherit) at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit ) at Exortech.NetReflector.ReflectorTypeAttribute.GetAttribute(Type type) at Exortech.NetReflector.NetReflectorTypeTable.Add(Type type) at Exortech.NetReflector.NetReflectorTypeTable.Add(Assembly assembly) at Exortech.NetReflector.NetReflectorTypeTable.Add(String assemblyFilename) at Exortech.NetReflector.NetReflectorTypeTable.Add(String path, String search Pattern) at ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader..ct or() at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.NewConfigurationServic e(String configFile) at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal (String con figFile) at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateRemote (String co nfigFile) at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create (Boolean remote, String configFile) at ThoughtWorks.CruiseControl.Core.ConsoleRunner.LaunchServer() at ThoughtWorks.CruiseControl.Core.ConsoleRunner.Run() at ThoughtWorks.CruiseControl.Console.AppRunner.Run(String[] args) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM \Software\M icrosoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure lo gging. To turn this feature off, remove the registry value [HKLM\Software \Microsoft\Fus ion!EnableLog]. _______________________________ I've googled about the issue and based on the information in the second link below it is supposed to be fixed in 1.4.4 SP1 and 1.5 (Which I have also tried with no luck): http://groups.google.co.jp/group/ccnet-devel/browse_thread/thread/b882b6a0213f2e43 http://jira.public.thoughtworks.org/browse/CCNET-1541 Does anybody know if the issue has been resolved or what could I be doing wrong? I'm stuck right now on this and thinking that I should probably stay on 1.3. Thanks, -Juan Carlos
