Intellisense not working

后端 未结 16 1830
滥情空心
滥情空心 2020-12-25 13:29

I am opening files from a server ASP.net and the VB codebehind files, and my visual studio is not working correctly, Intellisense is dead and if i right click the \"Go to

相关标签:
16条回答
  • 2020-12-25 14:10

    Sometimes, it could be because of different extension style that you are using for the files.
    In my case Intellisense is working in all the files except for a file in a different project of the same solution.
    When I have changed the extension of the file to cxx from cpp,it started working.
    The includes and other files in the solution are of extension .cxx or .txx.

    Thank you

    0 讨论(0)
  • 2020-12-25 14:10

    Try to add the statement:

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="IP_Updater.Default" %>
    

    ...at beginning of your page. The above example is applied for page Default.aspx written in VB.NET.

    0 讨论(0)
  • 2020-12-25 14:11

    I fixed this problem by removing Sybase Power Designer VS extension. You can try to disable other extensions.

    0 讨论(0)
  • 2020-12-25 14:14

    I had the same problem. It only affected one of my solutions. Others seemed fine. To correct it I deleted the solution's user options file (.suo).

    When I opened the solution again, intellisense was working.

    0 讨论(0)
  • 2020-12-25 14:19

    For me, this was related to an incorrect xaml file build action in an Azure WorkerRole project (bizarre, though it may seem!). Please see my entry in this post if you want to know more:

    C# VS2010 Entering break mode failed

    The fix for the error in the above thread also resulted in the intellisense starting to work again.

    0 讨论(0)
  • 2020-12-25 14:20

    I managed to fix this problem which manifested itself after my ReSharper trial expired.

    Steps to fix are:

    • Tools/Import and Export Settings
    • Reset all settings
    • Back up your config
    • Select your environment settings and finish

    Intellisense started working again straight away.

    0 讨论(0)
提交回复
热议问题