Can´t edit sourcecode in VS Texteditor when resharper is running

大憨熊 提交于 2019-12-10 15:04:02

问题


For some time I use Resharper in Visual Studio 12, but since a few days I have a problem. If Resharper running, I can not type anything in the source code editor in Visual Studio.

I'm using the version 8.2.0.2160 and StyleCop version 4.7.49.0

All settings I have completely reset. I have also deleted the settings files. I have also uninstalled Resharper and StyleCop and reinstalled.

Nothing helps! The strange thing is, that I (except C# and xaml) can probably edit in other files. Or when I restart Visual Studio and there investing a new project. Then everything works properly.

I do not know how to fix the problem. What could I even check what I could try?


回答1:


It was a shredded cache in PersistentCache directory of resharper. When I deleted the directory, resharper had re-creates it and everything worked perfectly again!




回答2:


go to the following location:

%AppData%\..\Local\JetBrains\ReSharper\v8.2\SolutionCaches\

Delete the desired solution cache. I have not sufficient reputation to comment that's why posting as answer, could be helpful for someone to locate the directory of solution cache.



来源:https://stackoverflow.com/questions/23389661/can%c2%b4t-edit-sourcecode-in-vs-texteditor-when-resharper-is-running

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