How to get Fluent NHibernate working with latest NHibernate 3.x trunk
I got the following Exception :
Could not load file or assembly 'NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies.
EDIT :
This exception occurs in FluentNhibernate file PersistanceConfiguration
public TThisConfiguration Cache(Action<CacheSettingsBuilder> cacheExpression)
{
cacheExpression(cache);
return (TThisConfiguration)this;
}
Don't understand, FluentNHibernate is well compiled against NH 3.x
Fluent NHibernate is another way of mapping or you can say it is an alternative to NHibernate's standard XML mapping files. Instead of writing XML (. hbm. xml files) documents.
The FluentNHibernate download page has stable pre-release (pre 1.2) binaries for NHibernate 3.0 and 2.1.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With