Namespace error when using MP3 Player extension

Topics: ASP.NET 2.0
Apr 21, 2011 at 9:22 PM

Can someone help me solver or lead me in the right direction to solving this error?



Server Error in '/blog' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'Extensions' does not exist in the namespace 'BlogEngine.Core.Web' (are you missing an assembly reference?)

Source Error:

Line 13:     using System.Text.RegularExpressions;
Line 14:     using BlogEngine.Core.Web.Controls;
Line 15:     using BlogEngine.Core.Web.Extensions;
Line 16: 
Line 17: 

Source File:\wwwroot\blog\App_Code\Extensions\Mp3Player.cs    Line: 15

Apr 21, 2011 at 10:04 PM

The code shown in the error is for BlogEngine 2.0 - I would guess you are using older BE version. I'll add a link to older version on extension page.

Apr 22, 2011 at 12:05 AM

Thanks for the help! I feel so stupid not checking the mismatched versions. Well, I ended upgrading to 2.0 and all is well now.

Apr 22, 2011 at 1:54 AM

Good decision :)