强制卸载 Visual Studio [英] Force uninstall of Visual Studio

本文介绍了强制卸载 Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在卸载 Microsoft Visual Studio Ultimate 2015 Preview 时,它会引发错误并指出Microsoft Visual Studio Ultimate 2015 Preview 已停止工作"

While uninstalling Microsoft Visual Studio Ultimate 2015 Preview, it throws an error quoting "Microsoft Visual Studio Ultimate 2015 Preview has stopped working"

留言内容包括:

一个问题导致程序停止正常工作.Windows 将关闭程序并通知您是否有可用的解决方案.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

我在谷歌上搜索并找到了一个可以卸载 Visual Studio 2010 here 但对于 Visual Studio 2012、2013 和 2015 不存在.我的问题是:

I googled and found a utility that uninstalls visual studio 2010 here but nothing exists for Visual Studio 2012, 2013 and 2015. My questions are:

是否有按版本卸载 Visual Studio 的通用实用程序?

Is there any generic utility that uninstalls Visual Studio by Version ?

或者有没有办法在不使用程序和功能"菜单的情况下强制卸载 Visual Studio 2012?

Or Is there a way to forcefully uninstall visual studio 2012 onward without using the Program and Features menu?

推荐答案

我遇到了同样的问题,但刚刚通过可信赖的旧 CMD 进行了完全卸载:

I was running in to the same issue, but have just managed a full uninstall by means of trusty old CMD:

D:\vs_ultimate.exe /uninstall /force

其中 D:是您的安装媒体(已安装的 iso 等)的位置.

Where D: is the location of your installation media (mounted iso, etc).

您还可以将/passive(不需要用户输入 - 只显示进度)或/quiet 传递给上述命令行.

You could also pass /passive (no user input required - just progress displayed) or /quiet to the above command line.

在 MSDN 文章下面添加链接,提到这会强制删除所有已安装的组件.

Adding link below to MSDN article mentioning that this forcibly removes ALL installed components.

http://blogs.msdn.com/b/heaths/archive/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall.aspx

此外,为了确保链接腐烂不会使此失效,请在原始文章下方添加简短文本.

Also, to ensure link rot doesn't invalidate this, adding brief text below from original article.

从 Visual Studio 2013 开始,您可以强制删除几乎所有组件.一些核心组件(如 .NET Framework 和 VC 运行时)由于无处不在而被抛在后面,但如果您真的需要,您可以将它们从程序和功能中单独删除.

警告:这将删除所有组件,无论其他产品是否需要它们.这可能会导致其他产品无法正常运行或根本无法运行.

祝你好运!

这篇关于强制卸载 Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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