EventListener Addin fails to load
"Ben Hall" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm creating a NUnit addin as an EventListener so I can hook into the
events being fired.
My install looks like this :
[NUnitAddin(Description = "Test Tracer")]
public class TestTracer : IAddin, EventListener
{
public bool Install(IExtensionHost host)
{
if (host == null)
throw new ArgumentNullException("host");
IExtensionPoint listeners =
host.GetExtensionPoint("EventListeners");
if (listeners == null)
return false;
listeners.Install(this);
return true;
}
.....
However, in the Addin dialog, its saying there was an error loading it
but I can't find a way to find out information about why it errored.
Any help on this would be great!
Thanks
Ben
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/