'VS 2022 Not showing red squiggles under errors

Looks as though IntelliSense also does not catch the error as you can see in the screenshot. I have the red squiggles enabled under Tools > Options > Text Editor > General

VS no errors



Solution 1:[1]

Work-around: Renaming the '.VS' (i.e. to '.OLDVS') folder resets your project so the squiggles re-appear. For a while that is. Check-in your code before you rename the folder.

Had the same fault in VS2019. I sent in a test project, which was investigated but the error wasn't found.

Note: I was using VS2019 and TFS2015(Azure DevOps) with a LOT of solutions under one project. TFS source control explorer workspace was set to 'LOCAL' which produced a .TF file >14GB which in turn meant every compile spent 1-2 minutes repositioning local disk data. I suspect this also had an impact on the missing squiggles error.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Lars