Code editor appears blank

有些话、适合烂在心里 提交于 2019-11-27 12:44:49

问题


I was using ReSharper with visual studio 2015 and my pc got really slow because of ReSharper and i had to uninstall it. After uninstallation completed when i opened up my project the only thing i saw was a blank screen like this.

I know that uninstalling ReSharper caused it and i looked and tried to fix it by changing Text Editor options but nothing worked so far. I've also searched about this issue and nothing came across yet.

Thanks


回答1:


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



回答2:


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.




回答3:


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




回答4:


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!



来源:https://stackoverflow.com/questions/30239417/code-editor-appears-blank

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