.NET Musings

Wandering thoughts of a developer, architect, speaker, and trainer


NHibernate “<end-of-text>” Error

Technorati Tags:

I’ve been using and teaching NHibernate for a while now, and I still run into the following error when I fire up a new project:

NHibernate.QueryException: in expected: <end-of-text> (possibly an invalid or unmapped class name was used in the query)

What does this mean? It means I forgot to change the Build Action of the .hbm.xml mapping files to “Embedded Resource”.

Happy Coding!

Managed Windows Shared Hosting by OrcsWeb