Ahhh, now I get it. Yes, qualifyAssembly should do the trick, see
http://nhforge.org/blogs/nhibernate/archive/2008/11/27/nh-with-multiple-assembly-versions-in-gac.aspx
Does NH even support fully qualified type names for entities (don't
know why it wouldn't, just wondering)? If it does we could introduce a
new method similar to MakeTypeName (
http://github.com/castleproject/Castle.ActiveRecord/blob/master/src/Castle.ActiveRecord/Framework/Internal/Visitors/XmlGenerationVisitor.cs#L1369
) but returning the FQTN.

On Mar 3, 10:24 pm, Alex Henderson <[email protected]> wrote:
> I may be barking up the wrong tree here, but perhaps he's suggesting that
> the mappings generated by ActiveRecord are not using fully qualified type
> names - so GAC types aren't being resolved correctly by NHibernate?
>
> if that's the case, is this something that might be resolved by just adding
> qualifyAssembly entries in the your application config for the GAC'd
> assemblies?
>
> http://msdn.microsoft.com/en-us/library/cd71chf0.aspx
>
> <http://msdn.microsoft.com/en-us/library/cd71chf0.aspx>Cheers,
>
>  - Alex
>
> On Thu, Mar 4, 2010 at 1:25 PM, Mauricio Scheffer <
>
>
>
> [email protected]> wrote:
> > AFAIK ActiveRecord does not create assemblies for any mappings. It
> > just generates the mappings in memory and then feeds it to
> > NHibernate's Configuration.
>
> > Maybe you're having problems with the proxies? What's the concrete
> > error you're seeing?
>
> > On Mar 3, 12:50 pm, Junoti <[email protected]> wrote:
> > > Hello,
> > > I've searched and searched and searched, but can't figure out a way to
> > > get ActiveRecord to output strong named assemblies in the HBM mapping
> > > files. Our assemblies are located in the GAC, and we are running into
> > > issues with the mapping files.
>
> > > Can anyone shed some light?
>
> > > Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Castle Project Users" group.
> > To post to this group, send email to [email protected]
> > .
> > To unsubscribe from this group, send email to
> > [email protected]<castle-project-users%2Bun 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/castle-project-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to