Visual Studio 2022 has stopped showing errors and intellisense

Dave Barnard 0 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,672 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,481 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.