I think that we have mismatched version of NH vs. FN On Thu, Jan 29, 2009 at 7:19 PM, Rob Kitson <[email protected]> wrote:
> > Hey guys, been banging my head against the wall trying to figure this > out for a bit now and thought it was about time to reach out. > > I'm trying to use FluentNHibernate with Rhino Commons (which is the > newer addition to the project). I successfully ran the build script > for rhino-tools and copied the build folder into it's own folder in > the sharedLibs folder in my project. At first I was getting compile > time errors about the differnt versions of NHibernate that Rhino and > FluentNH were compiled with, so once I found that FluentNH was added > to the sharedLibs in Rhino-Tools I removed all my references to > FluentNH from my solution and replaced them with references to the > FluentNH assembly that was in the build output folder from Rhino- > tools. > > Now, it compiles, but when I run my tests I get this message: > > TestCase 'PriceLister.Tests.Integration.ProductTester.Test1' failed: > TestFixtureSetUp failed in ProductTester > TestFixture failed: System.IO.FileLoadException : Could not load file > or assembly 'NHibernate, Version=2.0.0.4000, 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) > at > PriceLister.Tests.Integration.BaseIntegrationFixture.InitializeNHibernate > () > > Any ideas? Did I miss a step? > > Thanks! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
