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

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

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} vote

Answer accepted by question author
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2021-03-05T03:54:31.803+00:00

    Hello @Anonymous ,

    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.