Symptoms
Visual Studio syntax highlighter and Intellisense for
Javascript
andRazor
views are not working.There is no
Web
templates installed when creating a new project.When I try to uninstall the web developer feature:
Add or remove Programs > Microsoft Visual Studio Professional 2015 > Modify
Microsoft Web Developer Tools
is always checked. Even when I uncheck it and uninstall it, then restart the computer; the next time I still see it's checked:
What I did to solve this:
- Running
devenv.exe \resetuserdata
Command to reset the user data. - Running
devenv.exe \installtemplates
to install the templates. - Repairing the Visual Studio.
- Trying to uninstall and re-install the
Web Developer Tools
feature through the Visual Studio installer.
None have worked so far.
What I guess
I think Visual Studio thinks this feature is installed (through some registry keys probably) but the files are actually not installed.
Because whenever I try to Modify
the installation of Visual Studio, the Microsof Web Developer Tools
check box is not checked for the first second, then it is checked again after 1 second.
Question
Any suggestion on fixing this without uninstalling Visual Studio itself?