-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.1.2 don't work with NHibernate 5.2.4 #430
Comments
I'm experiencing the same issue when trying to install a windows service that references FluentNHibernate 2.1.2. I have NHibernate 5.2.5 but it's looking for 5.1.0.0 even with a binding redirect set in my app.config. Is anyone planning on addressing this? |
Ive got the same problem. Does anyone has a workaround for this? |
@Gener4tor I had to downgrade to NHibernate 5.1.5. Hasn't been an issue, but we don't use NH heavily in this project. I'd have concerns with some of our others. |
@kpinette: Thanks. Downgrading to NHibernate 5.1.5 worked for me too...as did 5.1.6 |
@kpinette A binding redirect does work for me: <?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" />
<bindingRedirect oldVersion="5.1.0.0" newVersion="5.2.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> |
Updated to 5.2.7 in #453 |
FluentNHibernate 2.1.2
NHibernate 5.2.4
FluentNHibernate does not work with a version of NHibernate
When you run an application and perform the insert procedure
An application throws an exception;
System.Exception: 'Can not make the file or assembly' NHibernate, Version = 5.1.0.0, Culture = neutral, PublicKeyToken = aa95f207798dfdb4 'or one of its dependencies. An assembly definition is not a reference to the assembly. (Exception from HRESULT: 0x80131040) '
Exception thrown: 'System.IO.FileLoadException' in InterCert.Infrastructure.Repository.dll
Exception posted: 'System.TypeInitializationException' in InterCert.Infrastructure.Repository.dll
Exception thrown: 'System.Exception' in InterCert.Model.Negocio.dll
An unhandled exception of type 'System.Exception' occurred in InterCert.Model.Negocio.dll
Can not load the file or assembly 'NHibernate, Version = 5.1.0.0, Culture = neutral, PublicKeyToken = aa95f207798dfdb4' or one of its dependencies. An assembly definition is not a reference to the assembly. (Exception from HRESULT: 0x80131040)
My SessionProvider
The text was updated successfully, but these errors were encountered: