The type initializer for ‘Nested’ threw an exception

If you get “The type initializer for ‘Nested’ threw an exception” when updating nhibernate,
then it might be related to Reference to Castle Proxy removed from NH-CORE.

Just add

<property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>


Leave a Reply

Your email address will not be published. Required fields are marked *

Read previous post:
Tapestry gets a face lift

Tapestry, the definite java component web framework, just got a nice face lift. The new website that was in the...