This project is read-only.

Using White with latest Castle.ActiveRecord

Dec 18, 2008 at 1:51 PM
Hi all,
I'm having some problems integrating White with the latest Castle version.
White uses Bricks.dll that wants to use Castle (which is provided with White), adding a reference to the Project to ActiveRecord causes this other problem:

Error 1 Assembly 'Castle.ActiveRecord, Version=,
Culture=neutral, PublicKeyToken=

407dd0808d44fbdc' uses 'Castle.Core,
Version=, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'
which has a higher version than referenced assembly 'Castle.Core,
Version=, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'
c:\Program Files\CastleProject\Bin\net-2.0\Castle.ActiveRecord.dll Tests

On the other hand if I remove the reference to Castle and I add just the one to I get:

System.IO.FileLoadException: Could not load file or assembly
'Castle.Core, Version=, Culture=neutral,

407dd0808d44fbdc' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
at Bricks.CodePath..cctor()
System.TypeInitializationException: The type initializer for
'Bricks.CodePath' threw an exception.
at Bricks.CodePath.New<T>()
at Core.Configuration.CoreAppXmlConfiguration..cctor() in
d:\white-os\Core\Configuration\CoreAppXmlConfiguration.cs: line 22
System.TypeInitializationException: The type initializer for
'Core.Configuration.CoreAppXmlConfiguration' threw an exception.
at Core.Configuration.CoreAppXmlConfiguration.get_Instance()
at Core.Constants.get_BusyMessage() in d:\white-os\Core\Constants.cs:
line 15
at Core.Factory.WindowFactory.FindWindowElement(Process process,
String title) in d:\white-os\Core\Factory\WindowFactory.cs: line 48

How can I solve this? My first idea was to rebuild white but Bricks is not part of it apparently...

Thanks a lot


Dec 23, 2008 at 1:01 PM
Bricks source code can be accessed from here.
Dec 23, 2008 at 1:02 PM
Thanks I found it few minutes after posting my question :-)

May 19, 2010 at 1:47 PM

And how did you solve it? I have the sources, changed the dlls in the lib, same problem.