Re: Nhibernate
- From: "Dave Shooter" <alwayskeepitloaded@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 May 2007 15:38:36 +0100
"IceMan" <andreas.skaar@xxxxxxxxx> wrote in message
news:1178798174.443203.63140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am using the configuration object and passing it a Assembly object
to load. The assembly object i pass in is from a dll which is in a
different folder then the Nhibernate dll.
The AddAssembly(Assembly assembly) function throws me an Error saying
it can't load the configuration hbm.xml file because it can't load the
assembly in the hbm.xml file.
Why does NHibernate try to load the Assembly again??
I think NHibernate tries to load the mapping files from the assembly when
using Configuration.AddAssembly(Assembly asm). Has the hbm.xml file been
compiled into the assembly as an Embedded Resource?
.
- Follow-Ups:
- Re: Nhibernate
- From: IceMan
- Re: Nhibernate
- References:
- Nhibernate
- From: IceMan
- Nhibernate
- Prev by Date: Re: Cursor is Black?
- Next by Date: Re: Save several DataTables of DataSet
- Previous by thread: Nhibernate
- Next by thread: Re: Nhibernate
- Index(es):
Relevant Pages
|