A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
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 /ResetSettingscommand 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 /Restorehealthandsfc /scannowcommands. - Reboot your machine, rename
%temp%folder and%localappdata%\Microsoft\VisualStudiofolder 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.