I have a console application and have a class library which wraps the Log4Net methods. Now when run the application in debug mode it writes log but when it is built in relea
The line [assembly: log4net.Config.XmlConfigurator(Watch = true)] should be added to your AssemblyInfo.cs file in the Properties folder.
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
AssemblyInfo.cs
Properties