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: 'IPublishedContent' does not contain a definition for 'GetPropertyValue' and no accessible extension method 'GetPropertyValue' accepting a first argument of type 'IPublishedContent' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 49:         {
Line 50:                 <a href="@node.Url()" style="padding:@(pad)px">
Line 51:                     @(!String.IsNullOrWhiteSpace(node.GetPropertyValue<string>("pageName")) ? node.GetPropertyValue<string>("pageName") : !String.IsNullOrWhiteSpace(node.GetPropertyValue<string>("pageTitle")) ? node.GetPropertyValue<string>("pageTitle") : node.Name)
Line 52:                 </a>
Line 53:         }

Source File: D:\Webs\BistroLive_Umbraco8_Live\Views\SiteMapHR.cshtml    Line: 51







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