VS 2022 Not showing red squiggles under errors when i debug projects saved on network disk

Willis1962 0 Reputation points
2024-06-21T05:42:45.41+00:00

User's image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,534 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Jiale Xue - MSFT 41,736 Reputation points Microsoft Vendor
    2024-06-21T07:26:23.6033333+00:00

    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-2022User's image

    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". 


  2. Jing Zhou 4,055 Reputation points Microsoft Vendor
    2024-06-21T09:29:13.0266667+00:00

    Hello,

    Thank you for posting in Q&A forum.

    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.

    Best regards,

    Jill Zhou


    If the Answer is helpful, please click "Accept Answer" and upvote it