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: CS0411: The type arguments for method 'PublishedContentExtensions.Parent<T>(IPublishedContent)' cannot be inferred from the usage. Try specifying the type arguments explicitly.

Source Error:


Line 51:                 <label class="col-md-4">Due in project</label>
Line 52:                 <div class="col-md-8">
Line 53:                     <a href="@Model.Parent().Url">@Model.Ancestor().GetPropertyValue("projectTitle")</a>
Line 54:                 </div>
Line 55:             </div>

Source File: C:\inetpub\TAP\TAP\Views\PortfolioProjectTask.cshtml    Line: 53






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