不再需要用于ASP标签的Visual Studio 2010的Intellisense [英] No more Intellisense for ASP tags visual studio 2010

查看:93
本文介绍了不再需要用于ASP标签的Visual Studio 2010的Intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不再在网站或Web应用程序中获得对asp标签的智能感知. 有一个复选标记,用于以下内容:

I'm not getting intellisense for asp tags anymore in websites or web applications. There is a check mark for the following:

  • 工具->选项->文本 编辑器-> C#->常规->自动列表 成员

  • Tools->Options->Text Editor->C#->General->Auto list members

工具->选项->文本 编辑器-> C#->常规->参数 信息

Tools->Options->Text Editor->C#->General->Parameter information

工具->选项->文本 编辑器-> C#->智能感知->显示 字符后的完成列表 键入

Tools->Options->Text Editor->C#->Intellisense->Show completion list after a character is typed

我的开发环境是64位服务器2008 R2,VS 2010 Ultimate(版本10.1.30319.1 RTMRel),我没有安装任何共享工具,但确实安装了AnkhSVN.

My dev environment is server 2008 R2 64 bit, VS 2010 Ultimate (ver 10.1.30319.1 RTMRel), I don't have resharper installed, but I do have AnkhSVN installed.

如何获得智能感知?

更新:这是我的网络配置:

UPDATE: Here is my webconfig:

<configuration>
  <connectionStrings>
    <add name="MerchandiseEntitiesContainer" connectionString="metadata=res://*/Merchandise.Entities.csdl|res://*/Merchandise.Entities.ssdl|res://*/Merchandise.Entities.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\sqlexpress;Initial Catalog=OldOslernet;Integrated Security=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
      <httpRuntime executionTimeout="1800"
              maxRequestLength="1048576"
              useFullyQualifiedRedirectUrl="false" />
    </system.web>
  <appSettings>
    <add key="upLoadPath" value="images/products/"/>
  </appSettings>
</configuration>

此外,这是编辑器的图片: http://img688.imageshack.us/img688/958/extension.png

Also, here is a pic of the editor: http://img688.imageshack.us/img688/958/extension.png

推荐答案

删除架构文件

删除以下文件夹中的所有文件:C:\ Users [UserName] \ AppData \ Roaming \ Microsoft \ VisualStudio \ 10.0 \ ReflectedSchemas. 可以安全删除该文件夹中的任何内容, Visual Studio将根据需要重新生成它们.

Delete all files in the following folder: C:\Users[UserName]\AppData\Roaming\Microsoft\VisualStudio\10.0\ReflectedSchemas. It is safe to delete anything in this folder as Visual Studio will regenerate them as needed.

取消阻止引用的装配体

您的项目中被引用的程序集之一在计算机上被阻止可能存在问题.右键单击Windows资源管理器中的每个DLL,选择属性",然后单击取消阻止"按钮(如果该DLL被阻止了).

There could be a problem with one of the referenced assemblies in your project being blocked on your machine. Right-click on each DLL in Windows Explorer, select Properties, and click the "Unblock" button (if the DLL is being blocked.)

重置Visual Studio设置

如果所有其他操作均失败,则可以尝试在Visual Studio 2010中重置设置(

If all else fails, you can try to reset your settings in Visual Studio 2010 (MSDN Link.) You'll have to tweak your settings all over again but it is worth trying.

这篇关于不再需要用于ASP标签的Visual Studio 2010的Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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