Hi I'm trying to build a project using FluentNHibernate with a connection to a MS Access database. I build the JetDriver dll in https://nhcontrib.svn.sourceforge.net/svnroot/nhcontrib/trunk/src/NHibernate.JetDriver/ using Visual Studio 2010 on Windows 7 64-bit. I made sure the project is compiled for x86 CPU and then I copied the generated dll into the other project and made a reference to it. When I'm running the project I get this exception:
"Could not load file or assembly 'NHibernate, Version=1.0.4.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"NHibernate, Version=1.0.4.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc"
In this method:
return Fluently.Configure()
.Database(
JetDriverConfiguration.Standard.ConnectionString(
c => c.DatabaseFile(Settings.Default.SnelstartAdministrationName + ".mdb"))
)
.Mappings(m => m.FluentMappings.AddFromAssemblyOf<OrderMap>())
.BuildSessionFactory();
Does this mean JetDriver.dll is expecting version 1.0.4.0 of NHibernate.dll? How do I make sure it wants the NHibernate.dll which is included in my project?
How is http://www.ohloh.net/p/NHibernateContrib related to https://nhcontrib.svn.sourceforge.net/svnroot/nhcontrib/trunk/src/NHibernate.JetDriver/? I can't find the driver in http://www.ohloh.net/p/NHibernateContrib code.