NLog Schema for Intellisense NuGet Package

NLog Schema XSD-file for enabling Intellisense, when editing NLog.config XML file in Visual Studio.

The nuget-package will try to copy the XSD-file into the project-folder, so one can reference NLog.xsd from NLog.config:

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd">
</nlog>

If this nuget-package fails to place the XSD-file into the project-folder then one can download latest here: https://nlog-project.org/schemas/NLog.xsd

Alternative enable the Visual Studio option "Automatically download DTDs and schemas" and specify the complete URL:

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd http://www.nlog-project.org/schemas/NLog.xsd">
</nlog>.




Got any NLog Schema for Intellisense Question?





Info

Version: 6.0.0-rc4
Author(s): Kim Christensen, Julian Verdurmen
Last Update: Sunday, June 15, 2025
.NET Fiddle: Create the first Fiddle
Project Url: https://nlog-project.org/
NuGet Url: https://www.nuget.org/packages/NLog.Schema


Install
Install-Package NLog.Schema
dotnet add package NLog.Schema
paket add NLog.Schema
NLog.Schema Download (Unzip the "nupkg" after downloading)

61 packages depend on this package.


Tags



STATS

must-have-score

7

avg-downloads-per-day

7202

days-since-last-release

16