WILT: NHibernate – An association from the table MyTable refers to an unmapped class: MyClass
October 30, 2009 4 Comments
If you are sure that you already created the mapping for MyClass, the first thing to check is that you change the BuildAction Property for the mapping file MyClass.hbm.xml to Embedded Resource.
This can be done by right-clicking on the mapping file in Solution Explorer and then clicking on Properties. The BuildAction is the first property in the list.
i got the same problem , but this doesnt solve my problem still giving the same error . what to do??
gOT THE same problem but doesnt solve by this. i have recompiled the solution as wel
I don’t know what the problem could be. It is hard to troubleshoot without seeing the solution.
yea Please check my coding at
http://forums.asp.net/p/1612888/4126755.aspx#4126755