I got somewhere.
I downloaded all the source code, and grabbed the latest releases.
FluentNHibernate (1.2)
Castle.Core (3.0)
NHibernate (3.2)
Issue #1
Fluent is built for NH3.1. It comes with it's own copy of
"NHibernate.ByteCode.Castle.dll" but causes medium trust errors.
Issue #2
After hearing some positive feadback, I tried running Fluent with
NH3.2. However, the "NHibernate.ByteCode.Castle.dll" that came with
Fluent was built for NH2.1. Also "NHibernate.ByteCode.Castle" was
built against Castle.Core v 1.1. The medium trust fix that Krysztof
applied from Martijn Boland was applied after 1.1. Swapping the
Castle.Core.dll doesn't work
Anyway, I was able to get something working. I did so by grabbing the
latest version of NHibernate.ByteCode.Castle's source from NH's git
repository. I compiled it against the latest Castle.Core. I had to do
a minor update to NHibernate.ByteCode.Castle since there was a minor
interface update with NH3.2's AbstractProxyFactory.
It seems to be working now, but it's a bit of a hack. I think the
important thing is to use the latest Castle.Core binary for lazy
loading. I tried Linfu, and I was met with all sorts of errors.
Thanks,
Josh