Cloned. I've been able to reproduce the problem, and I've workarounded it 
by registering the AppDomain_AssemblyResolve and 
returning LoadAssemblySafely("requestedassembly"), assuming the needed dll 
is in the same folder of the "client" assembly. Could this be a valid idea ?

Il giorno sabato 25 agosto 2012 04:45:21 UTC+2, Diego Mijelshon ha scritto:
>
> I'm creating an open source LINQPad driver for NHibernate. You can find it 
> at https://github.com/diegose/NHPad, and it's close to being usable. Pull 
> requests welcome.
>
> The problem is, I can only get my ISessionFactory to build if the "client" 
> assembly (the one containing the session factory building code) is located 
> in the driver folder. Otherwise, NH is unable to locate the entity class... 
> which is in the same (already loaded) assembly.
>
> Any ideas?
>

Reply via email to