In my MVC project, I am trying to use the latest Fluent Nhibernate and NHibernate.linq. I am using Nhibernate.dll, which comes with the latest released version of Fluent Nhibernate. However, I was able to find NHibernate.linq 1.0.
When I try to start, I get an error message:
Could not load file or assembly 'NHibernate, Version=2.1.0.4000, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The located assembly
manifest definition does not match the assembly reference. (Exception from HRESULT:
0x80131040)
I see in SourceForge in the NHibernate project, they have version NHibernate.Linq 2.1.2 in the NHibernate 2.1.2 project, but if you download this zip code, it is empty.
My thoughts are that Linq refers to an older NHibernate.dll file, but how can I get the version of NHibernate.linq.dll 2.1.2?
There is another issue with the same error, and I tried all my suggestions, making sure that all other NHibernate.dll are included. I did not rebuild the NHibernate.linq project with the same NHibernate.dll that Fluent used, since I was hoping to get a newer version of NHibernate.linq.
source
share