Visual Studio C# IntelliSense not automatically displaying

前端 未结 17 1682
一整个雨季
一整个雨季 2020-11-30 03:23

Just recently, my Visual Studio 2010 stopped displaying IntelliSense suggestions automatically while I am typing. I can still press ctrl+space to get it to work, but it doe

17条回答
  •  不知归路
    2020-11-30 04:23

    A new cause for this in the .net core era is having a project loaded for an unsupported .net core version. For instance if you loaded a project from GitHub that was set to use:

      
        netcoreapp2.2
        InProcess
      
    

    But you only have 2.1 installed or find yourself using Visual Studio 2017 then the compiler wont be able to find the SDK code and thus provide intellisense.

    The solution in that case might be to right click on your project and select Edit MyProject.csproj from the context menu and change the target framework as necessary:

      
        netcoreapp2.1
        InProcess
      
    

    This assumes whatever project you loaded can actually be run under a lesser target framework.

提交回复
热议问题