Search results

  1. J

    AutoMapper throwing Security exception for ReflectionPermission

    Hi Stephen, I'm not sure exactly, it's throwing the exception when creating a new DynamicMethod instance - private static DynamicMethod CreateDynamicMethod(MemberInfo member, Type sourceType) { ... return new DynamicMethod("Set" + member.Name, null, new[] {...
  2. J

    AutoMapper throwing Security exception for ReflectionPermission

    I'm using AutoMapper in a project i've been developing on my hosting space to map between domain entities and DTOs. I've stupidly been developing this in full trust and have now come to running it on my hosting space and it's throwing a SecurityException for the ReflectionPermission. This is...
Back
Top