Using NHibernate Validator 1.0 with NHibernate 2.1
If you want to use NHibernate Validator with the latest version of NHibernate and you are tired of waiting for the new version of NHibernate Validator which works with NHibernate 2.1 and you also don't want to recompile the whole thing, here's what to do: you must tell the CLR to redirect requests for the old version of NHibernate and Iesi.Collections to the new versions. Add these lines to your App.config or Web.config, inside the <configuration> section:
<runtime><
assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly><
assemblyIdentity name="Iesi.Collections" publicKeyToken="aa95f207798dfdb4"/> <bindingRedirect oldVersion="1.0.0.3" newVersion="1.0.1.0"/></
dependentAssembly> <dependentAssembly><
assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4"/> <bindingRedirect oldVersion="2.0.1.4000" newVersion="2.1.0.4000"/></
dependentAssembly> </assemblyBinding></
runtime>