NHibernate异常

Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle' during configuration of proxy factory class.
Possible causes are:
- The NHibernate.Bytecode provider assembly was not deployed.
- The typeName used to initialize the 'proxyfactory.factory_class'
 

这种异常一般怎么解决?


MYYA
浏览 310回答 2
2回答

温温酱

引用NHibernate.ByteCode.Castle.dll程序集引用NHibernate.ByteCode.LinFu.dll程序集配置文件也要加节点  &nbsp;<property name="proxyfactory.factory_class">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </property>

Cats萌萌

添加程序集NHibernate.ByteCode.Castle的引用
打开App,查看更多内容
随时随地看视频慕课网APP