剃刀智能感知不工作VS2010 SP1Rel MVC3从WPI Win7的X64 [英] Razor Intellisense Not Working VS2010 SP1Rel MVC3 from WPI Win7 x64
问题描述
我的Visual Studio 2010 / SP1 / MVC 3(4月份工具更新)安装在计算机上用新安装Windows 7 64位专业版。
I have Visual Studio 2010 /SP1 / MVC 3 (With April Tools Update) installed on a machine with a fresh install of Windows 7 64-bit Professional.
我没有安装ReSharper的。
我从来没有安装这个新的操作系统的RC或任何测试版安装。
I do not have resharper installed. I never installed an RC or Beta of anything on this new OS Install.
我的安装步骤如下:
- 安装Visual Studio专业版。
- 安装Web平台安装程序。
- 从WPI安装Visual Studio SP1。
- 安装Microsoft ASP.net MVC 3(4月份工具更新)
- 安装生产力电动工具
帮助>关于微软的Visual Studio显示:
Help > About Microsoft Visual Studio shows:
微软的Visual Studio 2010
版本的 10.0.40219.1 SP1Rel
Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel
Microsoft .NET框架
版本的 4.0.30319 SP1Rel
Microsoft .NET Framework Version 4.0.30319 SP1Rel
System.Web.Mvc.dll程序文件版本显示: 3.0.20105.0
System.Web.Mvc.dll file version shows: 3.0.20105.0
一旦安装完毕,我做了以下内容:
Once installed I did the following:
- 打开Visual Studio。
- 文件>新建项目
- 选择ASP.Net MVC 3 Web应用程序。
- 在新的ASP.NET MVC 3项目对话框。我选择了互联网应用,剃刀视图引擎。点击OK。
在这里的项目的行为:
- 打开任何文件CSHTML和剃刀@blocks并不突出。
- 智能感知使HTML片段作为外剃刀块的选择,但在其中不承认HTML辅助或模型等。
- 将生成项目。
- 您可以运行该项目,并建成时,一切正常。剃刀的观点通常呈现。
有谁知道一个明确的一套prerequisites的有剃刀智能感知工作吗?什么我可以有智能感知剃刀工作其他的Win7 64位机器,而且有这个问题的2之间差异比较?注册表项?是否有任何Visual Studio日志,可以帮助调试呢?经过挫折和阅读每一个剃刀智能感知职位和问题,我已经快过去没有想出任何工作,我只是希望在什么解决一些新的想法小时/试下。
Does anyone know a definitive set of prerequisites to have Razor Intellisense working? Something I can diff between the other Win7 64-bit machines that have Razor Intellisense working and the 2 that have this issue? Registry entries? Are there any Visual Studio logs that can help debug this? After hours of frustration and reading every Razor Intellisense post and question I have run across without coming up with anything that works I am just hoping for some new thoughts on what to troubleshoot/try next.
感谢有这方面的帮助。
推荐答案
我知道它已经从过去后一段时间,但我通过卸载MVC 2和MVC2 VS工具,只留下安装MVC 3个固定我的。
I know it's been a while since the last post, but I fixed mine by uninstalling MVC 2 and MVC2 VS Tools, and only leaving MVC 3 installed.
这篇关于剃刀智能感知不工作VS2010 SP1Rel MVC3从WPI Win7的X64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!