Hello @Larron Webb ,
Welcome to Microsoft Q&A forum.
Please try following three steps and let us know if it works:
- Rename(rename to any name, for example
ComponentModelCache_backup
) or remove this folder =>C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_xxxxxxxx\ComponentModelCache
. - Search and open
Developer Command Prompt for VS 2022
in Windows Search box, rundevenv /ResetSettings
command to reset VS settings. - Open VS Installer, click More, Repair, to repair VS 2022. After repairing VS 2022, open VS 2022 again, see if this works.
Besides, does this issue appear if you don’t launch VS as administrator(launch VS with non-admin account)?
Update1:
If above three steps don't work, please try following:
- Keep VS and VS Installer closed, rename
C:\Users\username\AppData\Local\Microsoft\VisualStudio
folder toVisualStudio_backup
, reboot your machine, renameC:\Users\username\AppData\Local\Temp
folder and launch VS again. - Update Windows OS.
- Open CMD as administrator, run
DISM.exe /Online /Cleanup-image /Restorehealth
, after it finishes running, runsfc /scannow
. - Try to install and use the latest version of VS 2022.
Best Regards,
Tianyu
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.