Hello,
How do I make NHibernate detect the *.hbm.xml files automatically? This code works fine:
Code:
new Configuration().AddFile("Table.hbm.xml")
But if I don't use AddFile(), the mapping just doesn't work ("Unknown entity class" exception is thrown then). I tried to use "AddAssembly" - this didn't work. Why can that be?
All my *.hbm.xml files are included into the VS2005 project, and they are copied to the output directory.
Hibernate version: 1.0.4
Name and version of the database:MS SQL Server 2000 SP4
[/code]