Hi,

Not sure why this is happening. .NET should pick up the assembly when the 
major.minor numbers are the same. I have tested this on our servers and it 
appears to be working. However to be on the safe side I have updated the 
version number in the application to match the assembly version.

Can you check if Netreflector.dll is installed on your machine (normally it is 
in a location like Program Files\CruiseControl.NET\server)? If so, what version 
is it?

This issue also appears to happen when there is a third party plug-in that uses 
NetReflector, but again it should be ok based on the major.minor number. Are 
you using any third party plug-ins?


Craig




________________________________
From: CTRLIT <[email protected]>
To: ccnet-user <[email protected]>
Sent: Fri, 15 January, 2010 5:10:44 PM
Subject: [ccnet-user] CCNet 1.5.6697.4 - Could not load file or assembly  
'NetReflector, Version=1.1.2009.1004

I have downloaded and installed CCNet using the Setup. I have
installed on a Windows 2003 R2 system.

I have downloaded the latest build, 1.5.6697.4 and had tried a
previous version w/ the same error message.

When I look at the version of the NetReflector Version=1.1.2009.1214.
According to the logs it is looking for NetReflector
Version=1.1.2009.1004.

Not sure how to resolve this error. Thanks.


2010-01-14 19:56:08,504 [4:ERROR] A fatal error occurred while
starting the CruiseControl.NET server
2010-01-14 19:56:08,708 [4:ERROR] INTERNAL ERROR: Could not load file
or assembly 'NetReflector, Version=1.1.2009.1004, Culture=neutral,
PublicKeyToken=2f4dd8b32acbcd8e' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
----------
System.IO.FileLoadException: Could not load file or assembly
'NetReflector, Version=1.1.2009.1004, Culture=neutral,
PublicKeyToken=2f4dd8b32acbcd8e' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
File name: 'NetReflector, Version=1.1.2009.1004, Culture=neutral,
PublicKeyToken=2f4dd8b32acbcd8e' ---> System.IO.FileLoadException:
Could not load file or assembly 'NetReflector, Version=1.0.0.120,
Culture=neutral, PublicKeyToken=2f4dd8b32acbcd8e' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'NetReflector, Version=1...0.0.120, Culture=neutral,
PublicKeyToken=2f4dd8b32acbcd8e'

Reply via email to