Spring.data.nhibernate5 shows dependency on nhibernate 5.3.0 #263
Unanswered
nookasaisri88
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Create a binding redirect then if you want to forward to later version. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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?
I don't want to use binding redirect, as it has to be done in several projects.
Beta Was this translation helpful? Give feedback.
All reactions