Re: EventListener Addin fails to load
"Charlie Poole" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <001701c86f44$7016c9a0$6401a8c0@ferrari> |
Hi Ben, I have verified that this extension point is not being initialized in the current code. Someone else recently pointed out the problem and I asked them to file a bug on it. If they haven't done so yet, perhaps you could do so. Charlie > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Ben Hall > Sent: Wednesday, February 13, 2008 9:03 PM > To: [email protected] > Subject: [nunit-developer] EventListener Addin fails to load > > 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/ > _______________________________________________ > nunit-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-developer > ------------------------------------------------------------------------- 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/