Code editor appears blank

自作多情 提交于 2019-11-28 20:09:49

This error is caused by a corrupted Visual Studio cache.

Close all Visual Studio tasks that are running, and delete all files in the folders ComponentModelCache and MEFCacheBackup

these folders are located in:

\Users\YOUR_USER_PATH\AppData\Local\Microsoft\VisualStudio\YOUR_VISUAL_STUDIO_VERSION

In my case the reason, on a VS2013 install, was a temporary glitch in an extension called Productivity Power Tools 2013.

What I did was I disabled it from Tools -> Extensions and Updates. Then I restarted VS, enabled it again, restarted again and bish bash bosh, problem solved.

It's odd because I didn't have to hunt down cache folders to delete, but it did the trick.

While I am sure the other answer is correct, I just restarted my VS 2017 in administrator mode, and it fixed the problem.

In my case the, reason is the Productivity power tools 2013. I went to extension via Tools -> Extensions and Updates and after downloading and installing the extension, I restarted VS, that got it working again!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!