In Visual Studio 2022 in Error list window errors are not displaying

YerniSunilKumar Boddu 0 Reputation points
2024-11-05T11:10:39.9366667+00:00

Hello Team,

Required help on resolving the issue which I'm currently facing. In my Visual Studio 2022, Errors are not showing even though the error count was showing in the Error list window, but when I click on the Errors it was not showing any error, Attached is the screenshot for reference.

User's image

As per the screenshot you can see the errors are there but when I click on that it was not showing any errors only warnings and messages are displaying, I tried to reset all the settings in the error list but still facing the issue.

Thanks in Advance.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jiale Xue - MSFT 49,051 Reputation points Microsoft Vendor
    2024-11-05T12:10:43.71+00:00

    Hi @YerniSunilKumar Boddu ,Welcome to Microsoft Q&A,

    • Make sure that no filters are preventing the errors from showing up. Open the Error List window, and check the filters (they’re at the top of the Error List window).
    • Set “Show:” to “Build + IntelliSense” to ensure all types of errors are displayed.
    • Sometimes simply restarting Visual Studio can clear up minor UI glitches.
    • If the issue persists, try resetting all Visual Studio settings to default:
      • Tools > Import and Export Settings > Reset all settings
    • Choose the option to “Reset all settings to default”, then restart Visual Studio.

    If none of these steps resolve the issue, it might be a bug. You can try repairing Visual Studio via Control Panel > Programs > Visual Studio (select Repair).

    Best Regards,

    Jiale


    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.

    0 comments No comments

  2. Brad Herald 0 Reputation points
    2024-11-14T20:34:33.8366667+00:00

    This issue had been ongoing, and a fix released in VS 17.12.

    In short (as I understand it), the real-time parser scheduler had a bug where it delayed file review if a user started editing it, but the follow-up review was never scheduled. Hence, when deleting the "obj" and "bin" folder would cause the parser to restart and with non-edit conditions, those phantom errors would disappear.

    The real-time is different than the compiler ops so the "errors" appeared in the error list, but the application would compile/run fine. The team found and tested a fix and released it in 17.12; including WPF & MAUI.

    Release Notes: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes

    Reported Issue: https://developercommunity.visualstudio.com/t/Second-time-reporting:-WPF:-C-Editor-ca/10532548

    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.