I'm not getting intellisense for asp tags anymore in websites or web applications. There is a check mark for the following:
Tools->Options->Text Editor->C#->General->Auto list members
Tools->Options->Text Editor->C#->General->Parameter information
Tools->Options->Text Editor->C#->Intellisense->Show completion list after a character is typed
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.
How do I get intellisense back?
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="Data Source=.\sqlexpress;Initial Catalog=OldOslernet;Integrated Security=True;MultipleActiveResultSets=True"" 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>
Also, here is a pic of the editor: http://img688.imageshack.us/img688/958/extension.png
The fix was to look in Visual studio menu: Resharper > options Then select IntelliSense > General -> use IntelliSense features of: Visual Studio.
To access this options page, choose Tools > Options, and then choose Text Editor > C# > IntelliSense.
Delete Schema Files
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.
Unblock Referenced Assemblies
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.)
Reset Visual Studio Settings
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.
This is what worked for me for aspx/ascx files:
Right click on the file in Solution Explorer Select Open With Select Web Form Editor (Default) Click Set as Default
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With