Hello @huhu123,
Welcome to Microsoft Q&A forum.
Please try following:
- Rename this folder(ComponentModelCache) to ComponentModelCache_backup:
C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_xxxxxxxx\ComponentModelCache
, run thedevenv /ResetSettings
command again, start VS, see if the error disappears. - Update Windows OS, and make sure that all patches have been installed.
- Run CMD as admin, run
DISM.exe /Online /Cleanup-image /Restorehealth
andsfc /scannow
commands. - Reboot your machine, rename
%temp%
folder and%localappdata%\Microsoft\VisualStudio
folder then relaunch VS.
Sincerely,
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.