Correction: I meant it will work fine _without_ NH.Linq if you don't run the unit tests.
On Fri, Jan 30, 2009 at 7:39 AM, Nathan Stott <[email protected]> wrote: > FH does have a dependency on NH.Linq, however it is only for the unit > tests. If you don't run the unit tests, it will work fine with NH Linq. > > > > On Thu, Jan 29, 2009 at 11:51 PM, Mike Nichols > <[email protected]>wrote: > >> >> Yeah I think FH takes a dependency on Nhibernate.linq (not sure) so i >> stopped working on it. Note that FH isn't strong-typed either so you >> may have to do that too >> >> On Jan 29, 8:05 pm, Nathan Stott <[email protected]> wrote: >> > Rebuild fluent nhibernate from source with the version of NH that >> > Rhino.Commons is using. >> > >> > On Thu, Jan 29, 2009 at 9:01 PM, Ayende Rahien <[email protected]> >> wrote: >> > > 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 -~----------~----~----~----~------~----~------~--~---
