Log4net in windows service

Hi,

Log4net not working in windows service although working same project as Windows Application.

I just put

[assembly: log4net.Config.XmlConfigurator(Watch = true)]

into AssemblyInfo.cs and magically solved.


Comments

Popular posts from this blog

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified at Configuration class initiation in CrmServiceHelper.cv

Exception caught instantiating TERADATA report server extension SQL Reporting Services

you face "ISV code aborted the operation" when you change status of the any record in Dynamics CRM 2013