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.

No Comments yet

TrackBack URI

Sorry, the comment form is closed at this time.

Login | XFN| WP
Powered by WordPress with cmb-web Theme design by Christian Bridge-Harrington.
Blog feed. Valid XHTML and CSS. ^Top^