Hi,
I was trying to call log4net standard dll in one of my WCF service library project.
But oops! The smart language compiler on VS IDE 2010 was NOT allowing me to write even “using log4net;” on the namespace declaration area.
I knew the solution that to change target framework from .net 4.0 client profile to .net 4.0 on the properties page of the project.
But as you know that client profile is supposed to make your binaries thinner by removing unused references and hence to make faster your app/service.
So I googled to customize my log4net and here I got the solution.
Please read the link given below, it worth reading.
http://www.codeproject.com/KB/dotnet/Log4NetWithClient.aspx
Best Regards,
Sudhir K. Dwivedi
Take a Look in the Mirror
14 years ago
No comments:
Post a Comment