Visual Studio Intellisense not showing some classes

后端 未结 7 1916
[愿得一人]
[愿得一人] 2021-01-06 07:32

My Visual Studio is not showing a lot of the available classes in the IntelliSense auto-complete. For example, a project I\'m working on has a reference to the Microso

相关标签:
7条回答
  • 2021-01-06 07:58

    What worked for me is unloading and reloading the project

    0 讨论(0)
  • 2021-01-06 07:58

    I am using ReSharper. What worked for me:

    1. Unload project.
    2. ReSharper > Options > Environment > General > Clear caches
    3. Close solution.
    4. Exit Visual Studio.
    5. Restart Visual Studio.
    6. Reload project.
    0 讨论(0)
  • 2021-01-06 08:01

    Try saving and reloading the files. I don't know why it happens, but it happens to my work laptop occasionally, typically reopening the source file resolves it.

    0 讨论(0)
  • 2021-01-06 08:03

    another dumb solution))) Determine which classes/namespaces are not showing up. Then go to that project where they are. In that project pick any .cs file copy its contents, then delete that file and create again))

    0 讨论(0)
  • 2021-01-06 08:06

    If unloading/reloading the project doesn't work, try deleting the .suo file found in the SolutionName/.vs/ folder. The .vs folder is an auto-created, hidden folder so you will have to show hidden folders in order to see it.

    0 讨论(0)
  • 2021-01-06 08:06

    OK so probably not the best solution but it works. I reinstalled Visual Studio and the problem was fixed. Also, it hasn't shown up since (this happened about 3 months ago).

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