I am referencing different projects,where code written in n-hibernate and i use the references files as
I got "FileLoadException was unhandled" Error.
"Could not load file or assembly 'NHibernate, Version=126.96.36.19900, 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)"
please anyone help me about this.
Could be a version issue, make sure the physical NHibernate is Version=188.8.131.5200 (we can see from the exception that this is the version is it looking for)
You might also check the GAC so see what version it is holding.
Edited 27-Jan-13 23:46pm
Thanks, Edo Tzumer
I got my fault.
There is error in version
I solve it by the following code
and also i change my mapping assembly
Here Project is the resource type solutions where all the mapper as well as resource class present
and also i make version of the resource type and output type solutions same.
Edited 30-Jan-13 23:53pm
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)