开发者

WPF where to store NLog logs

开发者 https://www.devze.com 2023-02-03 01:40 出处:网络
Is \"Environment.SpecialFolder.ApplicationData\" suitable for storing an NLog log file in a Clickonce WPF application running under .net client profile?

Is "Environment.SpecialFolder.ApplicationData" suitable for storing an NLog log file in a Clickonce WPF application running under .net client profile?

Needs to support XP upwards.

Thanks

[Update] In case it helps, I've blogged about using NLo开发者_运维技巧g with WPF here


I would think it would be, as long as you are consistent in your code.

I would probably put it in a subfolder named after my application, just to keep it tidy.

0

精彩评论

暂无评论...
验证码 换一张
取 消