No you should delete all the DLL's and then do a "Clean" on the solution.
Make sure all the dlls' have all disappeared from your BIN folders.

 

Then install from Nuget and see what breaks J

 

However I don't use Fluent so I am not 100% sure what you need to use for
the ProxyFactoryFactory

 

HTH Rippo

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Pravin
Sent: 10 June 2013 09:56
To: [email protected]
Subject: [nhibernate-development] Re: Upgrade NHibernate 2.1 to NHibernate
3.3 (Latest)

 

Thanks Guyz for your suggestion, but will installing the package replace the
DLL's for all the NHibernate projects that I'm using. Right now, I just want
to experiment with 1 project.

On Friday, June 7, 2013 3:39:47 PM UTC+5:30, 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.
 
 

-- 

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