I tried using log4net to log but I am getting build errors . I added "Log4net.dll" in reference as well as in the using clause. Then I added the code in assembly file also "[assembly: log4net.Config.XmlConfigurator(ConfigFile="app.config", Watch=true)]
". But when i build the project , compile time error popsup namely "The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?) (CS0246)" .
Please reply to this soon..
Best practices, code snippets for common functionality, examples, and guidelines.
1 post • Page 1 of 1