I should also point out that all of the dlls I am using locally are being used on a staging platform successfully, so that's even weirder.
On Jun 8, 11:36 pm, Colin Ramsay <i...@colinramsay.co.uk> wrote: > Good suggestion. Now that I've done that it doesn't look like any of > my abstract base classes are being picked up. I've got this: > > .WithSetup( > c => > { > c.IsBaseType = type => > { > return type.IsAbstract > }; > } > ); > > And my base class for all my entities is: > > public abstract class IdentifiableEntity > { > public virtual Guid Id { get; set; } > > } > > But in my .hbm.xml files I don't see the Id mapping at all. I'm going > to hit the hay now, hopefully I'll have a revelation in the morning :> > > On Jun 8, 11:00 pm, James Gregory <jagregory....@gmail.com> wrote: > > > Well, you should try writing out your mappings to xml to see if anything > > stands out. Try the WriteMappingsTo on your AutoPersistenceModel. > > > On Mon, Jun 8, 2009 at 10:51 PM, Colin Ramsay <i...@colinramsay.co.uk>wrote: > > > > Yeah the entities are in the right namespace... and it all compiles. > > > I'm leaning towards some kind of weird dll confusion, even though > > > everything compiles ok. I just wondered if anyone had any bright ideas > > > as I'm at my wits end :< > > > > On Jun 8, 10:31 pm, James Gregory <jagregory....@gmail.com> wrote: > > > > Stupid question, but all your entities are in > > > Infrastructure.Core.Entities, > > > > right? > > > > It could be that you're using the old AddAutoMappings call, try looking > > > into > > > > the fluent configuration > > > > api<http://wiki.fluentnhibernate.org/show/FluentConfiguration> > > > > . > > > > > On Mon, Jun 8, 2009 at 10:26 PM, Colin Ramsay <i...@colinramsay.co.uk > > > >wrote: > > > > > > And with Windsor configuration, and the NH facility. My config class > > > > > is something like: > > > > > > public class FluentNHibernateConfigurationBuilder : > > > > > IConfigurationBuilder > > > > > { > > > > > public Configuration GetConfiguration(IConfiguration > > > > > facilityConfiguration) > > > > > { > > > > > var configuration = new DefaultConfigurationBuilder > > > > > ().GetConfiguration(facilityConfiguration); > > > > > configuration.AddAutoMappings( > > > > > AutoPersistenceModel > > > > > > .MapEntitiesFromAssemblyOf<FluentNHibernateConfigurationBuilder>() > > > > > .Where(t => t.Namespace == > > > > > "Infrastructure.Core.Entities") > > > > > } > > > > > } > > > > > > On Jun 8, 10:21 pm, Colin Ramsay <i...@colinramsay.co.uk> wrote: > > > > > > I'm using the AutoMappings stuff. > > > > > > > On Jun 8, 10:19 pm, James Gregory <jagregory....@gmail.com> wrote: > > > > > > > > Are your mappings public? > > > > > > > > On Mon, Jun 8, 2009 at 10:17 PM, Colin Ramsay < > > > i...@colinramsay.co.uk > > > > > >wrote: > > > > > > > > > Does anyone know why I might get "No persister for <entity > > > > > > > > name>" > > > > > when > > > > > > > > using Fluent NH? My app was working perfectly until my machine > > > got > > > > > > > > wiped out and I had to re-checkout from SVN, and I now see this > > > > > error. > > > > > > > > I'm guessing my previous copy wasn't completely synced to SVN, > > > but I > > > > > > > > just can't establish what the issue is. Any thoughts would be > > > > > > > > appreciated. > > > > > > > > > Thanks, > > > > > > > > Colin. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---