Ben Foster
Ben Foster

Reputation: 34800

WPF where to store NLog logs

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 NLog with WPF here

Upvotes: 2

Views: 671

Answers (1)

Wonko the Sane
Wonko the Sane

Reputation: 10813

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.

Upvotes: 1

Related Questions