Reputation:
How i can use Intellisense for Razor in Visual studio.
Upvotes: 0
Views: 1550
Reputation: 5505
If you were previously using MVC3 Beta and set a file extension association in Visual Studio between .cshtml/.vbhtml and the HTML editor (to get nice HTML colours), then you'll need to remove it before IntelliSense will work with MVC3 RC.
Upvotes: 1
Reputation: 11673
If your having problems getting it to work and you have the RC installed a long with ReSharper. You have to disable ReSharper's intellisense. Per this tweet.
Upvotes: 2
Reputation: 106
You have to get the MVC 3 Release Candidate that was released 9th November.
Download link: http://go.microsoft.com/fwlink/?LinkID=191797
If you have the RC, then you may have to enable the intellisense by doing the following:
Tools > options > text editor > all languages and make sure intellisense is turned on.
It could be that you have installed a utility like Resharper that might have disabled it.
I hope this helps.
Upvotes: 0
Reputation: 9799
Not sure I udnerstand the question. Are you not seeing color highlighting and intellisense?
Upvotes: 0