我是遇到了 Github 扩展经常在 Visual Studio 启动时报错,找了一下可以尝试以下方法:
首先卸载插件
然后删除 %LocalAppData%\Microsoft\VisualStudio\15.0_{some ID}\privateregistry.bin 和 privateregistry.user.bin 两个文件
然后再安装插件
应该就好了…
另外报错时多阅读错误日志,从错误日志中寻找错误原因来解决。
Thanks to the Jetbrains guys I found the solution. Try this if you have the same problem:
By the way I had to proceed in a slighly different way:
- uninstall R# and JustMock (even the Telerik.JustMock.VS2017.vsix which is the VS extension saved in the Telerik folder)
- delete %LocalAppData%\Microsoft\VisualStudio\15.0_{some ID}\privateregistry.bin and privateregistry.user.bin file (please backup them first)
- reinstall R# and JustMock (also the Telerik.JustMock.VS2017.vsix which is the VS extension saved in the Telerik folder)
- start Visual Studio and both problems should be solved
原文地址:https://www.cnblogs.com/xwgli/p/9040348.html