Upgrade to NHibernate 3.2

♀尐吖头ヾ 提交于 2020-01-25 12:22:23

问题


I have a project by NHibernate (version 2.1). For upgrade to NHibernate 3.2, what should I do?

Do I need that upgrade following dll?

  1. Antlr3.Runtime
  2. Castle.Core
  3. Castle.DynamicProxy2
  4. NHibernate.ByteCode.Castle

I could not find those dll in NHibernate 3.2. Now what should I do?


回答1:


They are not needed any more. Just delete all dlls that are not there any more (except maybe log4net, that's now optional but without it there won't be any logging).

You might also get errors in your hibernate.cfg.xml, just remove the deleted elements like ProxyFactoryFactory.



来源:https://stackoverflow.com/questions/7846563/upgrade-to-nhibernate-3-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!