Error finding ‘log4net’ library
February 15, 2011 | In Development |When using log4net in a .NET 4 project, when you compile the project you can get an error saying that it cannot find ‘log4net’ or ILog.
The solution seems to be that the framework for the project is set to ‘.NET Framework 4 Client Profile’, while what it needs is ‘.NET Framework 4′. You can change this in the project properties page.
It seems to be something to do with System.Web, but haven’t narrowed it down more than that.