Have You add a reference to log4net? --------- Prostredi: VB.NET, VS2005 Pro, XP Pro/P4 3GHz, 2GB RAM ___________________________________________________ Karel Kral, vyvojar ANETE, s.r.o. ___________________________________________________
On 7.3.2007 8:54, Huifang Yap wrote: > Hi all, > > I'm trying to add an xmlConfigurator in AssemblyInfo.cs but to no avail. > I tried the online examples which is to: > > > [assembly: log4net.Config.XmlConfigurator( > ConfigFile="Log4Net.config",Watch=true )] > > but the compiler complained taht XmlConfigurator is not an attribute class. > I'm doing a C#.net proj using VS2005. > > How can I specify correctly in the assemblyinfo.cs to make it work? > > TIA > > Atiz >
