Looks like I'm missing something here and I can't figure it out what it is. I'm creating a MVC3 VB.NET application using VS2010 VB Web Project templates. I have removed all the (.aspx) views and created .VBHTML Razor view - named Index.vbhtml under the Home folder. The HomeContoller has the action Index. When I run the app I get the below error.
The view 'Index' or its master was not found. The following locations were searched: ~/Views/Home/Index.aspx
~/Views/Home/Index.ascx ~/Views/Shared/Index.aspx ~/Views/Shared/Index.ascx ~/Views/Home/Index.cshtml ~/Views/Shared/Index.cshtml
Obviously the view engine can't locate the .vbhtml view. Can anyone please tell me how to enable this? The same setup works with .cshtml files.