如何在 VS 2017 中卸载后删除 VS 扩展的所有残余?
How to remove all remnants of a VS extension after desinstalation in VS 2017?
我下载并安装了 Telerik 的 WinForms 组件演示,后来将其删除。但是,在主菜单系统中添加 Telerik 菜单的 VS 扩展没有被正确删除。卸载后,我的 VS 开始在 stratup 处显示大约 10 个消息框,提示无法加载像 Telerik.WinControls.VSPackage.2018.1.115.1 这样的 Telerik 程序集。下面是VS启动日志的对应部分(浏览器查看的ActivityLog.xml文件):
我就这个问题询问了 Telerik 的支持,并在他们的社区论坛上发布了一条消息,但还没有人回答 - 即使在几天之后。
没有答案,我试图在 VS 文件夹和系统注册表中找到问题扩展的所有残余,并清除了我找到的所有内容,但 VS 仍在尝试加载一些 "tails" 这个非现有的 Telerik 扩展。
有没有办法跟踪和清除卸载程序留下的 VS 扩展的所有残余(手动或使用工具自动)?
我的问题得到了 Telerik 团队的回答:
Visual Studio 2017 uses its own private registry to store this king of
information -
C:\Users\UserName\AppData\Local\Microsoft\VisualStudio.0_8ab640ac\privateregistry.bin.
Removing this file should resolve the issue on your side. The file
will be auto-generated by Visual Studio once it is launched.
Note: You if choose to delete the file your personal preferences
regarding the Visual Studio IDE environment will be reset to the
default ones and you may need to set up them in the Options dialog.
坦率地说,我无法尝试他们建议的方法。我突然发现我的 VS 实例在启动时不再尝试加载任何 Telerik 程序集。我认为这是在升级到最新版本 15.5.7 之后发生的,这是使用管理员权限完成的。我之前多次以管理员权限启动 VS,正如我所见,一些有问题的 Telerik 条目(但不是全部)在这种模式下被 VS 自动清除。看来,VS可以在管理员and/or升级模式下自愈。
我下载并安装了 Telerik 的 WinForms 组件演示,后来将其删除。但是,在主菜单系统中添加 Telerik 菜单的 VS 扩展没有被正确删除。卸载后,我的 VS 开始在 stratup 处显示大约 10 个消息框,提示无法加载像 Telerik.WinControls.VSPackage.2018.1.115.1 这样的 Telerik 程序集。下面是VS启动日志的对应部分(浏览器查看的ActivityLog.xml文件):
我就这个问题询问了 Telerik 的支持,并在他们的社区论坛上发布了一条消息,但还没有人回答 - 即使在几天之后。
没有答案,我试图在 VS 文件夹和系统注册表中找到问题扩展的所有残余,并清除了我找到的所有内容,但 VS 仍在尝试加载一些 "tails" 这个非现有的 Telerik 扩展。
有没有办法跟踪和清除卸载程序留下的 VS 扩展的所有残余(手动或使用工具自动)?
我的问题得到了 Telerik 团队的回答:
Visual Studio 2017 uses its own private registry to store this king of information - C:\Users\UserName\AppData\Local\Microsoft\VisualStudio.0_8ab640ac\privateregistry.bin. Removing this file should resolve the issue on your side. The file will be auto-generated by Visual Studio once it is launched.
Note: You if choose to delete the file your personal preferences regarding the Visual Studio IDE environment will be reset to the default ones and you may need to set up them in the Options dialog.
坦率地说,我无法尝试他们建议的方法。我突然发现我的 VS 实例在启动时不再尝试加载任何 Telerik 程序集。我认为这是在升级到最新版本 15.5.7 之后发生的,这是使用管理员权限完成的。我之前多次以管理员权限启动 VS,正如我所见,一些有问题的 Telerik 条目(但不是全部)在这种模式下被 VS 自动清除。看来,VS可以在管理员and/or升级模式下自愈。