Ok, well this is interesting. I took all of my code and put it into a single console application and everything worked fine. I was able to save an object and then retrieve it. So I then started to create class libraries in the solution for the domain and the repository - one at a time running the solution at various points on the way. When the domain was moved into its own class library everything worked fine. When the Interfaces directory was moved to the Repository class library everything worked fine. When the Repositories directory was moved to the Repository class library everything worked fine. When the MappingFiles directory was moved to the Repository class library it broke with the no persister error. I checked that the xml map file was still an embedded resource. I moved it back to the console application and removed it from the Repository class library ran it and it worked fine. For some reason having the hbm.xml map file outside of the console application is, somehow, the culprit. But how?
-- 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.
