Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 not recognisng .cshtml files

I recenetly reinstalled Visual Studio 2010 and since doing so I can not figure out how to get it to recognise .cshtml files again... I tried installing MVC 3 but it said it was already installed, basically when I open the .cshtml files in Visual Studio they have no code high lighting or intelli sense.

Any sugestions?

Thanks, Alex.

like image 576
Alex Hope O'Connor Avatar asked Feb 21 '11 12:02

Alex Hope O'Connor


1 Answers

You'll need to reinstall the Microsoft ASP.NET MVC 3 - Visual Studio 2010 tools.

You might just be able to do a repair install of MVC 3. If that doesn't work, I'd uninstall MVC 3 (making sure it removes the tools too) and re-install them both.

like image 130
Rup Avatar answered Dec 12 '22 02:12

Rup