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?
That sounds like the error you get if you do not set your hbm's Build Action to Embedded Resource.
Step by step for build action
EDIT References to set to Copy Local = True
- Castle.Core
- Castle.DynamicProxy2
- Iesi.Collections
- NHibernate
- NHibernate.ByteCode.Castle
精彩评论