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.