C
C#2y ago
luluxyooj

❔ NLog write Json file to server

I am able to create an xml file with nlog.config. However the configuration doesn't seem to work for json. I saw there is another way to generate a json file through appsettings.json but it uses a main() in Program.cs. The application I am working on does not have a main() in Program.cs. Does anyone have a successful way to generate a json file with NLog?
2 Replies
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server