Background:
I'm getting a mapping failure when trying to use nHibernate. The application consists of several assemblies. One of the assemblies is a library of useful routines and the other is application code that uses the library. The library assembly adds itself to the nHibernate configuration but since it doesn't know about other assemblies it doesn't add them. My xml mapping file is located in the application assembly. I think it's not finding it because it's not looking in the application assembly.
Question: Can you map to a class in an arbitrary assembly without adding it to the configuration?
If not, can you add a mapping at run time?
Thanks
p.s. I did make sure the mapping file was marked as an embedded resource