I'm brand new to log4net, so I apologize if this issue has been raised recently.

I'm using log4net 1.2.0 beta 8 with .NET 1.1 and VB.NET.  The output
is a .exe console application.

I'm trying to specify the log4net config file in AssemblyInfo.vb. 
Using the following syntax:

<Assembly: log4net.Config.DOMConfigurator("ConfigFile.xml")> 

I receive a "Too many arguments to public sub new()' error.

Using this syntax:

<Assembly: log4net.Config.DOMConfigurator(ConfigFile="ConfigFile.xml")> 

I receive a "Name 'ConfigFile' is not declared" error.

When I use the empty syntax:
<Assembly: log4net.Config.DOMConfigurator()> 

Things seem to be OK, but, the Intellisense does list the attributes
ConfigFile, ConfigFileExtension and Watch when I open the parentheses.

I'm too new to tell if this is a bug or if I'm going this wrong.  All
help is appreciated.  Thanks!

Reply via email to