Home > Others related to the project > Using log4net with .Net Window Form Application

Using log4net with .Net Window Form Application


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

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: