Hi @Shoukat Malik ,
Welcome to Microsoft Q&A!
What is your project type? If you create a new project, does it disappears?
Please update your VS2022 to the latest version and try again.
If it doesn’t work, please launch your Visual Studio 2022 in Safe Mode(run devenv /SafeMode in Developer Command Prompt for VS 2022).
If it works fine in safe mode, the issue may be caused by the installed extensions. Please temporarily disable or uninstall them under Extensions > Manage Extensions > Installed.
Meanwhile, you can also try to repair your VS through Visual Studio Installer > More > Repair.
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.