More AppDomain and Reflection Goo

time to read 1 min | 71 words

Well, I found out exactly how useful the AssemblyResolve approach is.

I can load the assemblies that I need (although I didn't test it for assemblies that references more assemblies, where I think it will fail).

But NHibernate will not load it. The reasoning being that NHibernate load types using the Type.GetType() method, and assemblies that has been loaded with Assembly.LoadFrom() don't get to participate in this. WTF! Can anyone explain why?

Currently I don't have a solution.