Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC3 Razor View Project using VB.NET gives Syntax error in Error List window for all vbhtml pages

Using MVC3 and Razor View engine, I created a VB.NET web application in VS 2010. This creates the default Account and Home Controller along with corresponding Action Views.

Now if I open any vbhtml file I get the following error message in the Error List window.

Error 50 Syntax error. C:****\MVC3AppVB\Views\Account\LogOn.vbhtml MVC3AppVB (See screenshot here http://www.flickr.com/photos/7672540@N07/5469248676/)

Who ever this app compiles and runs without any problem. I tried to create the same project using C# and there is no error message in the Error List Window. Can anyone explain why this error message shows up only for VB and not for C#?

Thanks in advance.

like image 983
mahichR Avatar asked Oct 12 '22 15:10

mahichR


1 Answers

The problem is with MVC3 and webpage 1.0 tooling. This issue has been answered in codeplex.

like image 130
mahichR Avatar answered Oct 18 '22 03:10

mahichR