Open jagregory opened 13 years ago
I can't find any obvious issues. I think perhaps the assembly from which the user is expecting to add mappings is being optimized right out of the call stack in release mode. If I can find an email address I'll try to contact the OP.
I think I know what's the problem - when inside a web app, Assembly.GetExecutingAssembly would return null (there's a reason for this, not sure what it is though). if Fluent is using this method, that may as well be the problem. Is this resolved @jagregory - it's not clear from discussion whether the fix was applied
what I meant is I can't get to the page on lighthouse - it says "it's not a public project"
well, I looked through the commit list from June 4, 2011 till the end of 2011 - and haven't found this fix
If you inherit from PersistenceModel, the AddMappingsFromThisAssembly doesn't work because it (incorrectly) assumes the calling assembly is in FluentNHibernate.dll.
See: https://groups.google.com/forum/#!topic/fluent-nhibernate/-MDmyisPt_E/discussion