Hi @Devansh Bhardwaj ,
Welcome to Microsoft Q&A!
Are you using Visual Studio Code or Visual Studio? They are two different products.
If it is Visual Studio Code, please report it in the GitHub-vscode forum where you would get professional support for this product.
If you are using Visual Studio, please tell us about the specific version for further investigation. You can update VS, create a new project, and check it again.
Sincerely,
Anna
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". 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.