So, I\'ve been having this problem for a little while now. Frequently when I just try to open any of my projects I get the following error:
-----------------
I get the same error every now and then and not just with C++ projects. The solution varies, but most of the times It's done by deleting the files under the ComponentModelCache, as the comment by WhozCraig suggested:
rmdir /q /s %LOCALAPPDATA%\Microsoft\VisualStudio\14.0\ComponentModelCache
Update:
An extension now exists that clears ComponentCache for VS 2015, 2017, written by Mads Kristensen.
for me issue got resolved in VS 2017 community by installing/updating Visual C++ package from Tools of VS