Visual Studio bug

nonnon1 1 Reputation point
2021-09-02T10:01:49.857+00:00

I just installed Visual Studio and opened a script file using Unity Editor. when I typed some code, I made a typo and Visual Studio did not underline the error. Does anyone know a fix to this? Thanks.(I also went to the error list and there were no errors)

Developer technologies Visual Studio Other
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2021-09-03T07:36:21.537+00:00

    Hi @nonnon1 ,

    Welcome to Microsoft Q&A!

    Which version of Visual Studio are you using? Have you tried to create a new project in Visual Studio and check if the error squiggles exists or not?

    For your issue, please navigate to Tools > Options > Text Editor > General and check “Show error squiggles”.

    Meanwhile, you can also try to delete the hidden .vs, bin and obj folders in the project folder and reopen your solution.

    Sincerely,
    Anna
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    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

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.