I'm new to DotNetNuke and I'm trying to modify Blog module source code. However I got the following error message:
Value of type 'DotNetNuke.Entities.Modules.Actions.ModuleActionCollection' cannot be converted to 'DotNetNuke.Entities.Modules.Actions.ModuleActionCollection'. Type mismatch could be due to the mixing of a file reference with a project reference to assembly 'DotNetNuke'. Try replacing the file reference to 'DotNetNuke.dll' in project 'DotNetNuke.Blog' with a project reference to 'DotNetNuke.Library'.
The code snippet that cased the above problem is as follows:
#Region "Public Properties"
Public ReadOnly Property ModuleActions() As DotNetNuke.Entities.Modules.Actions.ModuleActionCollection Implements
DotNetNuke.Entities.Modules.IActionable.ModuleActions
Get
Return MyActions
End Get
End Property
#End Region
I tried to remove one of the two references "DotNetNuke.dll" and "DotNetNuke.Modules.Blog.dll", but neither of it worked.
Any ideas about this?
Thanks,
Brent