如何手动卸载 Visual Studio 2010 扩展? [英] How to manually uninstall a Visual Studio 2010 extension?

查看:31
本文介绍了如何手动卸载 Visual Studio 2010 扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我被提示在 VS2010 中下载最新的 NuGet 包管理器.所有以前的更新(包括这个)都失败了:
VSIXInstaller.SignatureMismatchException:NuGet 包管理器"的安装版本已签名,但更新版本的签名无效.因此,Extension Manager 无法安装更新.

So I got prompted to download the latest NuGet Package Manager in VS2010. All previous updates (including this) has failed with:
VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the update version has an invalid signature. Therefore, Extension Manager cannot install the update.

这本身已经持续了一段时间,他们仍然没有't 修复它(查看问答).

Which, in itself has been going on for some time now, and they still haven't fixed it (look in Q&A).

好的,好的,以前我可以简单地卸载 NuGet 扩展并安装最新的.但是,这一次,DisableUninstall 按钮都被禁用了.所以我无法卸载,也无法升级.

Ok, fine, previously I could simply uninstall the NuGet extension and install the latest. However, this time, both the Disable and Uninstall buttons are disabled. So I can't uninstall and I can't upgrade.

第 22 条军规.

如何从 Visual Studio 中手动删除 NuGet 扩展?
为了摆脱 NuGet,我必须删除哪些文件/文件夹/注册表项?

How can I manually remove the NuGet extension from Visual Studio?
What files/folders/reg entries do I have to kill to get rid of NuGet?

推荐答案

要卸载 NuGet,您必须首先以管理员身份运行 Visual Studio,然后您将看到可用的卸载选项.

To uninstall NuGet, you must first run Visual Studio as Administrator, then you will see the Uninstall option available.

重新启动 VS,但这次以您的普通帐户运行它.当您继续安装 NuGet 时,您应该能够更新到未来的版本,而无需以管理员身份运行.

Restart VS, but this time run it as your normal account. When you install NuGet going forward, you should be able to update to future versions without running as Administrator.

我认为这个问题是由于 NuGet 是与 MVC 3 一起安装的.我希望将来我们不再将 NuGet 与其他软件捆绑在一起.

I believe this issue occurs due to NuGet being installed with MVC 3. I hope in the future we no longer bundle NuGet with other software.

这篇关于如何手动卸载 Visual Studio 2010 扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆