Hello everyone and sorry for my english.
I have a problem to configuring the library log4net on my mvc4 project with (Framework 4.0) and with medium trust level.
The library version is "log4net-1.2.11".this library should be the version with the fix for the 4.0 framework.
When I start the application and runs the method log4net.Config.XmlConfigurator.Configure ();, I take an exception of type:
System.TypeLoadException: Safety rules of inheritance violated while overriding member: System.Runtime.Serialization.StreamingContext) '. The accessibility of safety override method must match the security accessibility of the method which you override.
in log4net.Repository.Hierarchy.Hierarchy .. ctor (ILoggerFactory loggerFactory) ......
you can help me solve this problem?