Posts Tagged ‘logger’

Using log4net with .Net Window Form Application

September 5, 2011 Leave a comment

If you want to use log4net package into a .Net Windows Application it is a simple trick to be done after adding the library to the References. If it is only added to References a lot of error message will appear at compiling, specifying that the library could not be found. To resolve the problem just change the Target framework of the project from .Net Framework x Client Profile to .Net Framework x (in my case x was 4) ;), and this should solve all the errors.

Net Framework x Client Profile