Adding Extension crash "type or namespace "extensionsettings" could not be found

Topics: Controls
Jul 29, 2011 at 8:50 PM

Trying to add  DiggDigg - 2.0.0.0 or AddThis extension to the system, I copied the supplied files to the App_Code folder.

When I view the site it crashes with

CS0246: The type or namespace name 'ExtensionSettings' could not be found (are you missing a using directive or an assembly reference?)

Line 18: } Line 19: Line 20: public override ExtensionSettings AddServiceConfiguration(ExtensionSettings settings)

Line 21: { Line 22: settings.Help = "DotNet-Kicks (http://www.dotnet-kicks.de) is a GERMAN counter and publishing service for .NET articles. " +

 

Using the Web code version of BlogEngine.NET 2.5.0.6

Jul 29, 2011 at 9:32 PM

Figured it out

Each source code fil is missing "using BlogEngine.Core.Web.Extensions;" in both control sets.