I recently asked a question about using Fluent NHibernate with .NET 4 - I solved that problem, but met a new one.
Summary
My main problem (at th
From the Microsoft Connect issue:
Security attributes need to be re-applied on types that derive from other types that also have security attributes.
Maybe FluentConfigurationException needs to apply a [SecurityPermission]
attribute to its GetObjectData()
method.
Else check out this blog post.
EDIT: The final solution was adding [SecurityCritical]
to FluentConfigurationException.GetObjectData()