My Web Sites

Recent site activity

Software Tools‎ > ‎

log4net

To make log4net work with .NET Framework 4, see the following post - link.
In brief, here is the summary of things to do:
  • Comment out
    // [assembly: System.Security.AllowPartiallyTrustedCallers]
  • Add line 
    [assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
This made it work for me.