Does HSC.Domain assembly contain the *.hbm.xml files as embedded resources?
Sent from my Windows Phone ________________________________ From: Eric Downey<mailto:edowne...@gmail.com> Sent: 24/06/2014 17:41 To: nhibernate-development@googlegroups.com<mailto:nhibernate-development@googlegroups.com> Subject: Re: [nhibernate-development] Re: NHibernate.MappingException No persister Here's what's in my app.config file for NHibernate: <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory> <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> <property name="connection.connection_string"> Data Source=DOT6ZF85V1\MSSQLSERVERR2;Initial Catalog=HSC;Integrated Security=True;MultipleActiveResultSets=True </property> <property name="adonet.batch_size">100</property> <property name="show_sql">false</property> <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property> <property name="max_fetch_depth">true</property> <property name="command_timeout">60</property> <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> <property name="current_session_context_class">web</property> <property name="show_sql">true</property> <property name="hbm2ddl.auto">update</property> <property name="generate_statistics">true</property> <mapping assembly="HSC.Domain"/> </session-factory> </hibernate-configuration> -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-development+unsubscr...@googlegroups.com<mailto:nhibernate-development+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-development+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.