1
In an ASP.NET MVC5 project, I created a Helper inside the briefcase App_Code, however, when using the function Url.Action() in my Helper the following build error occurs:
CS0103: The name 'Url' does not exist in the Current context
My code:
@helper testeHelper()
{
<a href="@Url.Action("Index", "Home")" >teste</a>
}