This project is read-only.

Does the Akismet extension work in 1.3?

Topics: ASP.NET 2.0
Dec 23, 2007 at 5:59 PM
I ran into this error when I tried to run 1.3 after porting over everything from 1.2...

Cannot implicitly convert type 'System.EventHandler<System.EventArgs>' to 'System.EventHandler<System.ComponentModel.CancelEventArgs>
c:\Users\cblanken\Desktop\BlogEngine.NET 1.3\App_Code\Extensions\AkismetExtension.cs

The problem is at line 56 of the askismetextension.cs file...
// Add the event handler for the CommentAdded event
Post.AddingComment += new EventHandler<EventArgs>(Post_AddingComment);

Not too familiar with the correct coding of this so I am hoping someone else can shed some light here...
Dec 23, 2007 at 7:17 PM
You'll need to change EventArgs to CancelEventArgs to make it work. Justin, as far as I know, is going to update extension for BE 1.3, you might check with him: