Ok, I think I figured it out I just don't understand it.  In my 
NHibernate2.2 application I have <mapping assembly="HSC.Domain"/> which is 
the assembly that contains only the POCO stuff.  In my test application it 
works if I use the assembly that contains the xml files which is my 
repository assembly hence <mapping assembly="Solution1.Repository"/> works 
in my test app but <mapping assembly="Solution1.Domain"/> which is what 
I've used previously in my production apps quite happily does not.  

I set the <mapping> tag to be ConsoleApplication1 when I combined all of my 
code into the console app and forgot to change it after I started migrating 
code out which is why it fell apart when the MappingFiles left the console 
app.  When I saw that just a few minutes ago I thought "Aha!  I need to 
redirect it back to Soultion1.Domain like I always have".  That didn't 
work.  So I figured I would try the only other project it could be 
Solution1.Repository - and that worked.  So there you go.  I need to point 
to the project that holds the map files not the domain which I know sounds 
like a no brainer since the tag is called <mapping> but like I said it's 
always been the domain project.  Oh well, go figure - thanks everyone for 
helping me noodle through this!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to