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
-~----------~----~----~----~------~----~------~--~---

Reply via email to