I am trying to use the target which can be found http://ryanfarley.com/blog/archive/2010/05/06/announcing-the-growl-for-windows-target-for-nlog.aspx. I have the nlog framework working as before I add the config lines for growl all works fine.
The config file is
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true" throwExceptions="true">
<extensions>
<add assembly="NLog.Targets.GrowlNotify" />
</extensions>
<targets>
<target name="file" xsi:type="File" fileName="${basedir}/log.txt" />
<target name="growl" xsi:type="GrowlNotify" password="" host="localhost" port="" />
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="growl" />
</rules>
</nlog>
However when I add the config lines for growl I keep getting the exception "System.ArgumentException: Target GrowlNotify not found." when the project starts up. The 3 extra files are in the bin directory (plus the nlog.dll and nlog.xml files).
I am using dotNet framework v4 and using VS2010.
Does anybody have any ideas that might be causing this issue?