Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

log4net - want a .net 4.0 version

I love log4net, but am frustrated that there is no VS2010/.NET 4.0 version of it. So, decided that I will just grab is from SVN and have my own version of it.

Can someone please convince me that there is a better way to go? I like what it does and how it works, and heck I would contribute back a new solution myself if I understood how Apache contributions worked.

like image 768
Daniel Williams Avatar asked Feb 23 '23 14:02

Daniel Williams


1 Answers

There is a better way to go. We use the log4net from NuGet in our .Net 4 solution, without any issues.

I believe log4net depends on the System.Web DLL, which is not included in the .Net 4 client profile. If you must use the client profile, and log4net, you'll have to compile your own. This post may be a good start.

like image 121
Barry Wark Avatar answered Mar 08 '23 15:03

Barry Wark