nhibernatemedium-trust

NHibernate 3.3.1 with Medium Trust error


I'm using NHibernate 3.3.1 in medium trust. It throw a Security Exception. In the NHibernate 3.3.1 say that it is compatible with medium trust.

Has it any prerequisite?


Solution

  • I've had success using the NHibernate.DependencyInjection NuGet package to use NHibernate in a medium trust environment.