Server Error in '/' 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: CS1061: 'Umbraco.Core.Models.IPublishedContent' does not contain a definition for 'BlogPostDate' and no extension method 'BlogPostDate' accepting a first argument of type 'Umbraco.Core.Models.IPublishedContent' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 39:                     <h1><a href="@post.GetPropertyValue("Url")">@mainHeading</a></h1>
Line 40:                 	@{
Line 41:                     	<time datetime="@post.BlogPostDate.ToString("d MMMM yyyy")">@post.BlogPostDate.ToString("d MMMM yyyy")</time>
Line 42:                 	}
Line 43:                     <p class="noHighlight"><a href="@post.GetPropertyValue("Url")">@post.GetPropertyValue("postAbstract")</a></p>

Source File: c:\inetpub\vhosts\toledoregion.com\dev.toledoregion.blackswaninteractive.com\Views\Partials\Blog\PostLists\ListTag.cshtml    Line: 41






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0