Hi,
I am just starting with NHibernate and set up my first project with no problems. Now I put my data objects and the hbm.xml files into a separate assembly, a class library dll. From another project which is a command line application I am trying to add the hbm.xml files with the following commands:
Configuration config = new Configuration();
config.AddAssembly("AssemblyNameWithHbmFiles");
This leads to the following error:
An unhandled exception of type 'NHibernate.MappingException' occurred in nhibernate.dll
Additional information: could not find class:
I am using NHibernate 1.0.1. What could be the problem here?
Thanks in advance,
Gregor
|