I have a Linq query which takes an entity as parameter. This entity
itself is a proxy loaded with another Linq query and has lazy
properties. In "ReflectHelper.cs(267): Assembly assembly =
Assembly.Load(name.Assembly);" I get an FileNotFoundException because
it tries to load the assembly of the proxy class. It looks like the
problem is that NHibernateProxyHelper.GetClassWithoutInitializingProxy
can't determine the type of the entity because the proxy does not
implement INHibernateProxy, so it returns the type of the proxy.

Is this something I can solve in my configuration, or is something
else going on here?

I am using a nightly build of the NH3 trunk.

Reply via email to