C# Visual Studio 2010 - 卸载 NuGet
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9802694/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual Studio 2010 - Uninstall NuGet
提问by Sannithi Yashwanth
How do you uninstall NuGet from Visual Studio 2010?
如何从 Visual Studio 2010 卸载 NuGet?
I tried to open Visual Studio 2010 with 'Run as Administrator', but the Uninstall option is not available for uninstalling the NuGet extension from VS2010.
我尝试使用“以管理员身份运行”打开 Visual Studio 2010,但无法从 VS2010 卸载 NuGet 扩展的卸载选项。
回答by Vladimir Perevalov
Open Extension Manager inside Visual Studio, select "Installed" on the left, you'll find NuGet in the list and the option to remove it.
在 Visual Studio 中打开扩展管理器,选择左侧的“已安装”,您将在列表中找到 NuGet 和删除它的选项。
回答by SmartestVEGA
To uninstall NuGet, you must first run Visual Studio as Administrator, then you will see the Uninstall option available.
要卸载 NuGet,您必须首先以管理员身份运行 Visual Studio,然后您将看到可用的卸载选项。
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.
重新启动 VS,但这次以您的普通帐户运行它。以后安装 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.
我相信这个问题是由于 NuGet 与 MVC 3 一起安装的。我希望将来我们不再将 NuGet 与其他软件捆绑在一起。
回答by Alexandre Dion
Usually to uninstall NuGet in VS2010 you need to run as an administrator, open Tools->Extension Manager. In Installed, select NuGet and click Uninstall.
通常在VS2010中卸载NuGet需要以管理员身份运行,打开工具->扩展管理器。在已安装中,选择 NuGet 并单击卸载。
If that fails you can run this command :
如果失败,您可以运行此命令:
vsixinstaller.exe /uninstall:NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
vsixinstaller.exe /uninstall:NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
(vsixinstaller can be found under [program files]\Microsoft Visual Studio 10.0\Common7\IDE )
(vsixinstaller 可以在 [程序文件]\Microsoft Visual Studio 10.0\Common7\IDE 下找到)

