Visual Studio 2022 has stopped showing errors and intellisense

Dave Barnard 20 Reputation points
2024-05-09T15:17:14.2366667+00:00

For the last 7 days Visual Studio 2022 no longer shows red squiggles under any errors in the IDE text editor and no errors in the Errors List window. If I try to build it fails and I can see the errors in the Output window, but no errors are listed in the Errors List window. It has also stopped showing or responding to any intellisense commands. I have the Show error squiggles option under Tools -> Options -> Text Editor -> General, enabled.

I've attached a screenshot and gif showing the problemVS2022 - no errors2

VS2022 - no errors

.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,891 Reputation points Microsoft Vendor
    2024-05-10T03:38:55.6833333+00:00

    Hi @Dave Barnard

    Welcome to Microsoft Q&A!

    Please try the following:

    1. Update your VS2022 to the latest version with Visual Studio Installer and launch it again.
    2. Enter “devenv /ResetSettings” at Developer Command Prompt for VS 2022 to restore your Visual Studio default setting.
    3. Close all running VS instances and delete the hidden .vs, bin and obj folders in the project folder.
    4. Rebuild the project.
    5. Create a new project and check that it works properly.
    6. Ensure you are using "Build + IntelliSense" in the Error List window.

    User's image

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Tre4b 136 Reputation points
    2024-07-05T19:29:41.72+00:00

    I came here looking for a solution to the same thing. I have found if I change the view to Build only I can see the errors. If I have the view as Build + Intellisense then the errors do not show.

    This has only recently started happening so possibly with a recent update?

    0 comments No comments

  3. Vivek Reddy Sripathi 5 Reputation points
    2024-07-15T01:41:51.2966667+00:00
    0 comments No comments