Hi @Sachin,
Welcome to Microsoft Q&A!
Can you create a new project and check if it occurs in other projects? Can you find any errors from View > Error List?
Please close all running VS instances and try to repair your VS through Visual Studio Installer.
Besides, you can disable or uninstall the installed extensions under Extensions > Manage Extensions > Installed. Then, launch your VS and try 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.