[英]How to remove a Visual studio extension that gives a 'Object reference not set to an instance of an object' error during removal or update?
The 'Developer Analytics Tools' Visual Studio 2015 extension keeps giving me an 'Object reference not set to an instance of an object' error when I try to remove it or update it.当我尝试删除或更新它时,“开发人员分析工具”Visual Studio 2015 扩展不断给我一个“对象引用未设置为对象的实例”错误。 That's the error also in the installlog.
这也是安装日志中的错误。
I tried vsixinstaller /q /a /u:1b11efe-37ad-45dd-a8f9-a540a6ed7bcb several times (no output messages) and when I launch VS, the extension is still there.我尝试了 vsixinstaller /q /a /u:1b11efe-37ad-45dd-a8f9-a540a6ed7bcb 几次(没有输出消息),当我启动 VS 时,扩展仍然存在。 happened.
发生了。 The identifier is from the manifest file.
标识符来自清单文件。
I tried TotalUninstaller tool and it's not listing the extension.我尝试了TotalUninstaller 工具,但它没有列出扩展名。
It seems the physical extension is not there but there are some remnants or something that makes VS think it's still there.似乎物理扩展不在那里,但有一些残余物或某些使 VS 认为它仍然存在的东西。
Anyone knows how to remove it cleanly?有谁知道怎么干净的卸掉? Registry entry or file in some folder that needs to be removed?
某个文件夹中的注册表项或文件需要删除?
Go to C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions.转到 C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions。 You can find directories with random names.
您可以找到具有随机名称的目录。 Go through each folder and find the file extension.vsixmanifest to find the extension name.
浏览每个文件夹并找到文件 extension.vsixmanifest 以找到扩展名。 Then delete the entire directory of the extension you want to remove.
然后删除要删除的扩展程序的整个目录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.