sternr
sternr

Reputation: 6506

FluentNhibernate and NHibernate 3.2

Is there a FluentNHibernate release that is compiled against NHibernate 3.2?
If not, will using assmeblyBinding from 3.1 to 3.2 work?

Thanks

Upvotes: 2

Views: 1273

Answers (2)

Cole W
Cole W

Reputation: 15303

If you are using NuGet and install the latest FNH package it is compatible with NH 3.2

http://nuget.org/List/Packages/FluentNHibernate/1.3.0.717

You'll need to install it via the command line in NuGet but this is what I've done and it works fine.

Upvotes: 7

Boris Bucha
Boris Bucha

Reputation: 632

I am not aware of any new release. FNH 1.2 won't work with NH3.2 out of the box. you need to setup the binding in your app.config like this:

    <dependentAssembly>
        <assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.2.0.4000" newVersion="3.2.0.4000" />
    </dependentAssembly>

FYI: i am using this setup

Upvotes: 2

Related Questions