MVC5 .cshtml 中仍然没有 Intellisense [英] Still no Intellisense in MVC5 .cshtml

查看:63
本文介绍了MVC5 .cshtml 中仍然没有 Intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到很多关于这个主题的帖子 - VS Express 2013 中没有针对 Web .cshtml 文件的智能感知.我看到有些人在安装 2013.1 更新后取得了成功,但这对我不起作用.

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.

它并没有停止工作 - 它从来没有在 VS Express 2013 中为我工作过.以 @ 开头的每一行都只是一条黑线.打字时没有突出显示,也没有智能感知.

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.

我已经安装了 2013.1 更新.

I've installed the 2013.1 update.

启动 vwdexpress.exe/resetsettings

Launched vwdexpress.exe /resetsettings

检查 web.config 中的 AppSettings 部分:

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?

推荐答案

那些 web.config 设置看起来没问题.

Those web.config settings look ok.

由于它从未工作过,看起来好像有什么东西坏了,所以最好重新安装(但很痛苦).但首先有 Visual Studio 2013 的第二次更新 VS2013.2 这可能会解决问题,尽管第一次更新不是不可能,值得一试.祝你好运.

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.

这篇关于MVC5 .cshtml 中仍然没有 Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆