Hi @srivatshan br ,
Welcome to Microsoft Q&A!
Does it occur in specific project or all projects?
I created an ASP.NET Core MVC project (.NET 6.0) and tried to add a View by right-click on the Views folder > Add > View. It works normally on my side.
Please open the Visual Studio Installer and update your VS2022 to the latest version.
You can also try to repair the VS in the Visual Studio Installer > More > Repair.
Then, re-launch the VS2022 and create a new project to add a View. Or try a different target framework, such as .NET 8.0.
If it persists, please share us the detailed information to investigate it further.
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.