log4net and .net Framework 4.0
Posted
by Aneef
on Stack Overflow
See other posts from Stack Overflow
or by Aneef
Published on 2010-05-25T10:06:17Z
Indexed on
2010/05/25
10:11 UTC
Read the original article
Hit count: 1148
Hi Guys,
I was having issues in log4net when i updated my solutions to .net 4.0 , and then i downloaded the source of it and built log4net and targeted it to .net 4.0 and used it in my projects.
initially when i referred log4net that is targeted to run time 2.0 it complied and run the application but log did not work.
now when i run my project with log4net targeted to .net 4.0 i get the error " The type initializer for 'Log4NetTest.TestLog' threw an exception."
Any Idea how to solve this
© Stack Overflow or respective owner