I have referenced spring.data.nhibernate5 (3.0.2) and nhibernate (5.5.2) in my project. But it always throws error :
Could not load file or assembly 'NHibernate, Version=5.3.0.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Nuget says spring.data.nhibernate5 3.0.2 has a dependency on nhibernate >=5.3.0.
Shouldn't it use nhibernate (5.5.2) which is >=5.3.0? Why does it need 5.3.0 version of it?