BlogEngine.Core.BlogSettings.Moderation Enum Error

Topics: ASP.NET 2.0
Nov 20, 2010 at 1:02 PM

Hi there,


I have just installed blogengine on my server and there is an error in the comments management pages.


The cs files for the datagrid, menu and settings have errors when comparing BlogEngine.Core.BlogSettings.Moderation to int.


Error text:

error CS0019: Operator '==' cannot be applied to operands of type 'BlogEngine.Core.BlogSettings.Moderation' and 'int'


This is strange as in the settings, a radio button control is cast to an BlogEngine.Core.BlogSettings.Moderation enum.  This particular use cannot be edited with a quick insert of the correct enum type.


Is this a known problem with a known fix?  Has anyone else had this problem?