当 Visual Studio 扩展遇到错误时
Posted 不是豆豆的旮旯
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了当 Visual Studio 扩展遇到错误时相关的知识,希望对你有一定的参考价值。
我是遇到了 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
以上是关于当 Visual Studio 扩展遇到错误时的主要内容,如果未能解决你的问题,请参考以下文章
我安装Visual Studio扩展时出现PathTooLongException
vs2010 Visual Studio 遇到了异常。这可能是由某个扩展导致的
当尝试使用Visual Studio 2017构建Boost库1.69.0时,如何诊断或解决错误“rule”package.paths“unknown”?