3

Closed

Castle.Core version conflict when using White and NHibernate

description

Version conflict with Castle.Core when using White and NHibernate
 
I write a few tests with White in separate solution and everything works perfect. But I found an issue trying to add
White functionality to our testing framework based on Selenium WebDriver. After adding all references to project, it compiles
without errors. But it throws an exception when using method Application.GetWindow(windowTitle):
 
Application application = Application.Attach(processID);
Window downloadWindow = application.GetWindow(windowTitle);
 
ex.Message="Could not load file or assembly 'Castle.Core, Version=1.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
 
I downloaded last version of Castle.Core but problem remains. So I remove references to the last version of Castle.Core and add references with NuGet to Castle.DynamicProxy
and Castle.Core 1.2.0 (this version I used for separate tests and they works). But with obsolete versions of Castle.Core NHibernate does not work.
 
Is there any decisions for such problem?
Closed Jul 28, 2013 at 12:33 PM by JakeGinnivan
Please report the issue on GitHub (https://github.com/TestStack/White) if it is still an issue. Issues raised on CodePlex will not be fixed.
Also include the version of TestStack.White you are using.

Thanks!

comments

JakeGinnivan wrote Jul 28, 2013 at 12:33 PM

This should be fine with TestStack.White