Reputation: 11
I'm new to NHibernate. Actually I'm trying to save the values ffrom two text boxes into MySql Database in asp.Net page. I that I got "Resource not found: WebApplication1.Sample.hbm.xml" error. But I can't fix this error. Can anyone help me to fix this one?
Upvotes: 1
Views: 575
Reputation: 59245
That sounds like the error you get if you do not set your hbm's Build Action to Embedded Resource.
EDIT References to set to Copy Local = True
Upvotes: 3