Re: EventListener Addin fails to load

"Ben Hall" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <[email protected]>
Cheers Charile.

Looks like someone beat me to it
http://sourceforge.net/tracker/index.php?func=detail&aid=1891604&group_id=10749&atid=110749

On a separate issue - any chance of putting a link on nunit.com to
your bug list?  Searched around the site for a while and couldn't see
anything.  Had to go back to Google.

On 14/02/2008, Charlie Poole <[email protected]> wrote:
> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.