Home All Groups Group Topic Archive Search About

log4net and assemblyInfo.cs with cf2.0

Author
22 Dec 2005 11:03 AM
danielsanberger
Hi,

I want to set the assembly-level attribute in assemblyInfo.cs for
log4net:
[assembly: log4net.Config.XmlConfigurator(Watch=true)]

I get the error message at compile-time:
Error    47    'log4net.Config.XmlConfigurator' is not an attribute
class    D:\Projekte\WebServiceTest\Log4NetPocketPC\Log4NetPocketPC\Properties\AssemblyInfo.cs    17    27    Log4NetPocketPC

What can I do? Is it because I use Compact Framework 2.0?

Thanks
Daniel

AddThis Social Bookmark Button