Intellisense for NLog

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Intellisense for NLog

Jarek Kowalski

I've added support for Intellisense to NLog. It helps you by suggesting
target names/parameters and enumeration members when working with Visual
Studio. Works very well with VS2005 and validates almost everything
(except conditions and target names in rules).

Here's the Flash demo created using Wink.

(please be patient, this is 17 MB video, I'll clean it up in the future).

There are 2 small changes required in your config files to make intellisense

1. Add required namespace declarations to the <nlog> section:

<nlog ... xmlns=""

2. Change all occurences of

<target type="..." />


<target xsi:type="..." />

Get and run the latest installer from

OR get the binary package for the appropriate platform and place
"bin/NLog.xsd" in the appropriate directory, depending on your VS.NET

"C:\Program Files\Microsoft Visual Studio
"C:\Program Files\Microsoft Visual Studio .NET
"C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\nlog.xsd"

Schema generator is based on reflection and is rather quick and dirty.
Because it's relatively new, there may be some issues with valid
configurations not passing schema validation in VS and so on.

Report any issues here.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Nlog-list mailing list
[hidden email]
NLog Blog