Hi @Willis1962 , Welcome to Microsoft Q&A,
Go to Tools->Options and turn on Show error squiggles.
https://learn.microsoft.com/en-us/visualstudio/ide/find-and-fix-code-errors?view=vs-2022
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".