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

Source Error:


Line 15: 						<figure>
Line 16: 							@{var url = "~" + articleUrl;}
Line 17: 							<a class="item-hover" href="@Url.ContentWithLang(@url)">
Line 18: 								<span class="overlay color2"></span>
Line 19: 								<span class="inner">

Source File: c:\hostingspaces\infocape\breastimaging.com.cy\wwwroot\Views\Shared\Partials\Category\_BigGrid.cshtml    Line: 17






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