logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy Chastain" <...@roychastain.org>
Subject RE: .NET 4.0 and Log4Net
Date Wed, 02 Dec 2009 12:19:10 GMT
Well, actually, if you compile with NET_2_0 defined for use with .Net
2.0, it uses System.Net.Mail.

However, the ASPNetTraceAppender does reference the System.Web namespace
for access to the HttpContext class.

In both versions 2.0 and 4.0 of the framework, this class is in
System.Web.dll so there should be no difference from current

Roy Chastain

-----Original Message-----
From: Ron Grabowski [mailto:rongrabowski@yahoo.com] 
Sent: Tuesday, December 01, 2009 21:26
To: Log4NET User
Subject: Re: .NET 4.0 and Log4Net

Well, its a known issue in the sense that its had that dependency for 8+
years: System.Web.Mail


From: Tiernan OToole <lsmartman@gmail.com>
To: log4net-user@logging.apache.org
Sent: Tue, December 1, 2009 9:12:55 AM
Subject: .NET 4.0 and Log4Net

Good morning all.
when trying to use Log4Net (1.2.10) with .NET 4.0, i am getting an error
about Log4Net needing System.Web... is this a known issue?

Tiernan O'Toole

View raw message