Found the problem. I have been doing examples for the past several weeks trying to come up to speed on NHibernate Fluent etc. One of the examples in NHibernate suggests you create a shared library folder and dump the libs you reference in your project, in there. Then when you create a kit your all set. I liked the suggestion so I have been following it.
Well I only put the libraries referenced in FirstProject project: NHibernate, Fluent and SQLLite. So when it runs those are the only ones copied to bin. I just seeded the shared library folder with all the required libs cleared the bin folder and it worked. My error! Thanks, Jerry On Thu, Apr 30, 2009 at 10:23 AM, James Gregory <[email protected]>wrote: > Very strange, we haven't had it reported before either. If you clear out > your bin directory does this reoccur? > > On Thu, Apr 30, 2009 at 2:46 PM, JerryT <[email protected]> wrote: > >> >> Went through the first example by hand. Everything looked good. Ran >> the program and hit an exception in >> PersistenceModel Line 45: >> private void AddDiscoveryConventions() >> { >> foreach (var foundType in from type in typeof >> (PersistenceModel).Assembly.GetTypes() >> where type.Namespace == typeof >> (ClassDiscoveryConvention).Namespace && !type.IsAbstract >> select type) >> { >> ConventionFinder.Add(foundType); >> } >> } >> >> Looked at my references and they were fine however, when I looked in >> the bin area I noted that I did not have all the addition libs like >> Castle, Iesi etc. My references were Identical to the example but we >> differed in the bin. So I copied all the additional libs to my bin and >> it ran. >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
