Reputation: 24909
i created a Razor partial view in visual studio 2010
it added it as .cshtml file. It actually works, but development in it kind of sucks because the whole file is black on white, like notepad. no colors for html markup, and no intellisense.
I also looked at the sample views that were added when i created a new Razor project. They're all black on white.
as per Jon's suggestion i uninstalled MVC 3, and all its VS Tools components, and re-installed the RC, restarted PC and VS. Still no intelisense and color in Razor.
Upvotes: 0
Views: 1574
Reputation: 16728
Do you have the ASP.NET MVC 3 Release Candidate installed? Razor Intellisense was only added in the RC. (See ScottGu's blog post)
Upvotes: 2