trisk wrote:
I think I understand why this doesn't work. NHibernate is using the class name in the mapping file and finds that class via reflection. Since my mapping file is using the partial assembly name (i.e. not the version # and public key), it doesn't search the GAC.
Maybe NHibernate could have an additional configurations possibility, something like "AssemblyNameSubstitutionMap". When loading HBM files, the assembly name used in mapping would be searched from SubstitutionMap, and if found, the value in map would be used instead. Seems quite trivial to implement....
Gert