I created a .Net assembly that uses nlog to write log files to the disk, but after running the task, I can't find the log files anywhere, although the job runs without errors. When the code is run from outside of VisualCron, the log file is created. I can see that the visualcron service runs under "Local system", which should have wirte permission to the folder I am logging to.
What am I doing wrong?