There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Castle.Core version conflict when using White and NHibernate
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=18.104.22.168, 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?