Hello @Илиян Илиев,
Welcome to Microsoft Q&A forum.
In short:
Probably, it’s caused by the installed extensions. Try to uninstall the related extensions and check if the error disappears.
More information:
Are you using any related extensions in VS?
If so, to narrow down this issue, please kindly open VS => click Extensions => click Manage Extensions => switch to Installed tab => find and select the extension => try to uninstall it => close VS => restart VS and check if the error message appears again.
Or you can close VS => search Developer Command Prompt for VS 2022 in Windows Search box => click to run it => type and run devenv /SafeMode
=> VS should start and avoid the impact from extensions, check if the error appears again.
If the error message disappears then this error is caused by this extension, you can try to reinstall it, if the error appears after reinstalling it, consider updating this extension or sending feedback to this extension’s author.
If the error message still appears then the error may be caused by other things, such as cache, settings, corrupted files… I suggest try following:
- Close VS => open Developer Command Prompt for VS 2022, run devenv /ResetSettings to reset Visual Studio settings.
- Close VS => rename the
ComponentModelCache
folder which is stored inC:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX
folder. - Repair VS by opening VS Installer => More => Repair.
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.