Highlighting does not work in Razor MVC 5 views

1

I'm having a Razor ASP.NET MVC 5 project that was built on VS2013 on another computer. When loading it on my computer with VS2012 the highlighting and IntelliSense Views (cshtml) do not work.

I noticed that my VS2012 did not have MVC 5, if I created a new project there was no option to create using MVC 5. So I installed AspNet WebTools 2013_1, I can now create MVC 5 projects, but it still does not work highlighting .

Before doing this I did several other attempts # 2 , # 3 plus others I no longer have more links. I have also refaced some of these attempts after installing AspNet WebTools 2013_1.

For projects where I use MVC 4 everything works normally.

I downloaded two other machines that also have VS2012 with settings similar to mine and the same problem happens. On machines running VS2013 the problem does not occur.

Has anyone experienced something like this before, and do you have any tips to solve this problem?

    
asked by anonymous 21.07.2016 / 15:53

1 answer

0

The only way I could solve the problem was by installing the VS2013. Maybe the reinstallation of 2012 would work because on a machine that had this version with update 5 worked all the features of MVC5, but as I got the update I chose to install the 2013 version already and avoid problems with other projects.     

01.08.2016 / 18:20