Skip to content
Rolf Kristensen edited this page May 25, 2024 · 10 revisions

Installing NLog

ASP.NET Core users should follow Getting started with ASP.NET Core first.

Standard install

  1. Install the latest NLog from NuGet.
  2. Setup initial NLog.config xml-file
    • Example NLog.config can be downloaded and just added to your main application project.
    • Set "Copy To Output Directory" to "Copy if newer" for the NLog.config.

That's it, you can now compile and run your application and it will be able to use NLog.

Tutorial

Next step, see Tutorial

Troubleshooting

If something is not working as expected then check here:

Clone this wiki locally