Just use Nuget (install-package NHibernate), this will replace both the 
NHibernate.dll and Iesi.Collections.dll. Discard all the others except 
FluentNHibernate (which you can algo get by Nuget, this way you will always 
have the latest version). Finally, drop the ProxyFactoryFactory call, 
NHibernate no longer supports pluggable proxy factories, it uses an 
internal one.

RP

On Friday, June 7, 2013 11:09:47 AM UTC+1, Pravin wrote:
>
>
> Hi,
>    Can anybody please tell me the steps to upgrade NHibernate 2.1 to 
> NHibernate 3.3
>     I have the following DLL's
>     1. NHibernate 2.1 
>     2. NHibernate.ByteCode.Castle 2.1
>     3. Iesi.Collections 1.0
>     4. FluentNHibernate 1.0
>     5. Castle.DynamicProxy2 2.1
>     6. Castle.Core 1.1
>     
>    The configuration code for Fluent Nhibernate is as follows
>
>        public static FluentConfiguration Config
>         {
>             get
>             {
>                
>                 if (_config == null)
>                 {
>                     _config = Fluently.Configure()
>                         .Database(MsSqlConfiguration.MsSql2008
>                             .ConnectionString(cs => 
> cs.Is(ConnectionString))
>                             .AdoNetBatchSize(2000)
>                             .Raw("command_timeout", "600")
>                             
> .ProxyFactoryFactory("NHibernate.ByteCode.Castle.ProxyFactoryFactory, 
> NHibernate.ByteCode.Castle")
>                             .ShowSql()
>                             )
>                .
>                .
>                .
>                .
>             }
>        }
>
>
>    Please let me know what DLL's should be excluded/upgraded and code 
> changes if any in the configuration for installing the Latest NHibernate.
>
>   Thanks
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to