Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Anyone else having problem with razor syntax and the new Visual Studio 2015 RC?

$
0
0

No matter what I do I can't seem to get it to recognize razor syntax in a cshtml (view).
I've even tried to rest visual studio settings, but to no avail.

It compiles and runs fine. But I get no intellisense and the syntaxes doesn't get highlighted.

e.g if I type @Url.Action("") or maybe @{ int x = 0; }  it just displays as plain text, no color coding or anything. And I get no intellisense when typing either.

However for the html tags and attributes it works. Any suggestions would be appreciated.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>