In 2025, this worked for me with vs2022, the cache folder to delete is %localappdata%\Microsoft\VisualStudio\<vs version>\ComponentModelCache if you want to delete is manually.