Hi,
While using NLog for error logging facility,I'm using below configuration of NLog for Error log file.
<nlog>
<target name="file" xsi:type="File" fileName="D:\Pramod\MyErrorLog.txt" />
</nlog>
But now error log is getting generated in D:\Program Files\Microsoft Visual Studio 9.0\Common7 This might be because my VS is installed in D:\Program Files
But How can I configure fileName to get Erro File in the desired path(Ex:C\MyProject)
Thanks in advance...