My visual studio IDE not able to read "@" syntax

#LIN YU HSIEN# 26 Reputation points
2021-03-04T07:13:56.433+00:00

74069-issue.jpg

I am having issue on my development with .Net framework my IDE is not able to identify "@" syntax dose anyone know how to solve this issue I cant find any relevant source online

The pic capture the auto generated code produce by the template from Visual studio. However, it dose not recognized by itself strangely

really hope someone is able to answer this issue for me i am stuck with this for awhile already...

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,123 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,043 questions
0 comments No comments
{count} vote

Accepted answer
  1. Tianyu Sun-MSFT 30,566 Reputation points Microsoft Vendor
    2021-03-05T03:54:31.803+00:00

    Hello @#LIN YU HSIEN# ,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Please save your project and try to rebuild your solution.

    From the picture you shared with me, I see that this is a warning. I guess this issue appeared after you changed some codes? Visual Studio will try to re-scan the whole page if you change a character, sometimes this kind of warning will appear and you can wait for some time or try to rebuild your solution to make it disappear.

    Feel free to let me know the result.

    Best Regards,
    Tianyu

    • 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 additional answers

Sort by: Most helpful

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.