Visual Studio 2022 has stopped showing errors and intellisense

Dave Barnard 65 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

.

Developer technologies Visual Studio Other
{count} votes

6 answers

Sort by: Most helpful
  1. Tre4b 161 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?

    5 people found this answer helpful.
    0 comments No comments

  2. Matt MacDonald 25 Reputation points
    2024-08-30T15:11:01.1766667+00:00

    This had been working for a while, and now suddenly started with the same behavior as before. Builds are failing, but nothing errors are shown in the error list if it's set to "Build + IntelliSense". If I switch to "Build Only" I can see the errors, but only after a build. It won't show any syntax errors just from loading the project. This started happening again a few days ago. I am fully up to date using VS 2022 17.11.2.

    5 people found this answer helpful.

  3. Anonymous
    2025-01-28T20:57:16.53+00:00

    I am trying this on 01/28/2025 and none of the suggestions are working for me. It is a Visual Studio bug. Microsoft needs to fix this.

    I uninstalled or disabled every extension I had. I reset settings, I opened the project / solution through the Open command. None of these steps made any difference.

    Microsoft, please figure this out.

    4 people found this answer helpful.
    0 comments No comments

  4. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    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.

    1 person found this answer helpful.

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.