How to use Log4net in Ranorex(Complete steps)

Best practices, code snippets for common functionality, examples, and guidelines.
Smya
Posts: 1
Joined: Fri Oct 09, 2015 10:47 pm

How to use Log4net in Ranorex(Complete steps)

Post by Smya » Fri Oct 09, 2015 10:54 pm

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..