A
Atiz
Hi all,
I'm trying to use log4net in my c#.net project. I am able to use the
log4net functiosn without any problem but when I want to make my proj
find the config file in assemblyinfo.cs, the compiler complained that
XmlConfigurator is not an attribute class:
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log.config",
Watch = true)]
what can I do to solve this problem? I have already referenced
log4net.dll in my proj. The examples that I can search online were
only to add this line to assemblyinfo.cs to find the required config
file.
TIA
Atiz
I'm trying to use log4net in my c#.net project. I am able to use the
log4net functiosn without any problem but when I want to make my proj
find the config file in assemblyinfo.cs, the compiler complained that
XmlConfigurator is not an attribute class:
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log.config",
Watch = true)]
what can I do to solve this problem? I have already referenced
log4net.dll in my proj. The examples that I can search online were
only to add this line to assemblyinfo.cs to find the required config
file.
TIA
Atiz