>From NH4 .Net 4 is required. /Oskar
2016-04-05 15:49 GMT+01:00 Shubham Srivastava < shubhamsrivastava...@gmail.com>: > Hi Team Nhibernate, > > Actually, I want to update old 'nhibernate' version used in my ASP .Net > project to its latest stable version i.e. 4.0.0.4000. > However, in this process, I am facing problem. > > *Currently, Target .Net Framework of my project is .Net 3.5 and with that > nhibernate 2.1.2.4000 is used.* > > For updating the same, I have simply replaced the NHibernate.dll assembly > with its *4.0.0.4000* version(downloaded from SourceForge > <http://sourceforge.net/projects/nhibernate/files/NHibernate/4.0.4.GA/NHibernate-4.0.4.GA-bin.zip/download> > ). > However, *with .Net 3.5 target framework and nhibernate 4.0.0.4000*, I am > receiving a number of errors related with missing definition of > Type/Namespace like Criterion, Engine, SqlCommand, Type, Cfg, Impl, > Metadata etc. > Also, on changing Target Framework to *.Net 4.0 or higher* > * and nhibernate 4.0.0.4000*, almost all the errors gets removed. > > > 1. So, it seems that nhibernate 4.0.0.4000 is *not compatible* with > .Net 3.5 Framework. Am I correct? > 2. If so, *which max version of nhibernate* can be used with .Net 3.5 > Framework? > 3. If not, please confirm what could possibly causing these errors and > how it can be evited. > 4. Also, please confirm the min .Net framework required for using > nhibernate 4.0.0.4000. Let me know if there is any other information I > needs to be aware of. > 5. Lastly, please confirm if process of updating nhiberate is correct > or not? > > Thanks in advance. > Regards, > Shubham > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nhusers+unsubscr...@googlegroups.com. > To post to this group, send email to nhusers@googlegroups.com. > Visit this group at https://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+unsubscr...@googlegroups.com. To post to this group, send email to nhusers@googlegroups.com. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.