I am using the Visual Studio 2015 community version and I created an ASP.NET MVC 5 project.
When I open the view ( Index of Home or any other), it shows the first three lines of the page, underlined in red as a syntax problem. Here is the error:
An unexpected error was detected while trying to enable support for the @addTagHelper directive tag with the value "Microsoft.AspNet.Mvc.Razor.TagHelpers.UrlResolutionTagHelper, Microsoft.AspNet.Mvc.Razor". Error: the reference to the object is not installed in the instance of the object
Screenshot:

When I create a project, it is successfully built. When I run it, it shows a lot of errors, but it launches the application.

The type or namespace name 'Mvc' does not exist in the Microsoft.AspNet namespace (do you miss the assembly reference?)
and
'_ Page_views_home_index_cshtml.ExecuteAsync ()': no ββsuitable method found to override
How can I get rid of this?
c # asp.net-mvc visual-studio-2015 razor asp.net-mvc-5
tarzanbappa Jan 21 '16 at 10:16 2016-01-21 10:16
source share