Still no Intellisense in MVC5 .cshtml

自作多情 提交于 2020-01-05 09:07:12

问题


I see a lot of posts on this topic - no Intellisense in VS Express 2013 for Web .cshtml files. I see that some people are having success after installing the 2013.1 update, but that didn't work for me.

It didn't just quit working - it hasn't ever worked in VS Express 2013 for me. Every line that begins with @ is just a black line. No highlighting, no Intellisense while typing.

I've installed the 2013.1 update.

Launched vwdexpress.exe /resetsettings

Checked the AppSettings section in web.config:

  <appSettings>
    <add key="webpages:Version" value="3.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  </appSettings>

Are there any other possible solutions for this?


回答1:


Those web.config settings look ok.

As its never worked looks as though something is broken so a reinstall would be best (but painful). But first there is a 2nd update for visual studio 2013 available VS2013.2 this may correct the problem although as the first update didn't it is unlikely, worth a try. Good luck.



来源:https://stackoverflow.com/questions/24277420/still-no-intellisense-in-mvc5-cshtml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!