How to create a file in the AppData folder using log4net

前端 未结 1 1814
旧巷少年郎
旧巷少年郎 2020-12-20 11:41

How to create the log file in appData folder. The path is C:\\Users\\MYNAME\\AppData\\Roaming\\Project\\My Project\\Application. As soon as my project starts, the project fo

相关标签:
1条回答
  • 2020-12-20 12:40

    It seems that you are doing it the right way, however there are cases that it seems the casing of the variable makes a difference: An other question on the subject

    You can try if: ${AppData} works

    0 讨论(0)
提交回复
热议问题