【问题标题】:HowTo: Enable IntelliSense for MVC Razor in Visual Studio Express 2012如何:在 Visual Studio Express 2012 中为 MVC Razor 启用 IntelliSense
【发布时间】:2013-04-30 05:40:44
【问题描述】:

我在 2012 年初的某个时间安装了 Visual Studio 2012 Express for Web,然后在 2013 年年中进行了更新。接下来,我开始使用 Orchard 内容管理系统。问题是 IntelliSense 不工作。当我打开 .cshtml 文件时,我没有得到内联服务器端代码(例如 @Html)的 IntelliSense。如何让 Razor IntelliSense 工作?

【问题讨论】:

    标签: asp.net-mvc razor intellisense orchardcms


    【解决方案1】:

    卸载并重新安装 VS 2012 Express for Web 对我有用。

    1. 使用控制面板 > 程序和功能卸载 Visual Studio 2012 Express for Web。
    2. 转到the download page 下载并重新安装最新版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-05-23
      • 1970-01-01
      • 1970-01-01
      • 2023-03-30
      • 2015-10-13
      • 2011-09-23
      • 2013-01-29
      相关资源
      最近更新 更多