我试图打开Visual Studio,但它给出了一个错误:
在进行设置时无法运行
在我重新启动机器之前,它运行正常。我已经安装了这个版本从过去的一年。
我试图打开Visual Studio,但它给出了一个错误:
在进行设置时无法运行
在我重新启动机器之前,它运行正常。我已经安装了这个版本从过去的一年。
当前回答
在我的情况下,当我从任务管理器中检查时,visual studio的“vs_installershell.exe”仍在运行。在我结束了visual studio 2019正常开放的过程后。
其他回答
我在任务管理器上发现,当我试图启动VS2017的生产版本时,VS预览2019版本正在更新。以前从来没有这个问题。就像其他人建议的那样,我等了大约3分钟,问题平息了下来,没有产生重大影响。这种方式比通过任务管理器处理任务要好得多。: -)
很可能Visual Studio正在更新,就像错误消息暗示的那样,如果你等待几分钟更新完成,你应该能够再次运行Visual Studio而没有问题。
If the problem persists or if you're just curious, open up your task manager and see if there is anything related to (Microsoft) Visual Studio running but don't just kill the process. Check instead if the process is using any resources - if it has a high I/O count, then it's actually updating and you should let it do its thing. If CPU-usage and memory usage remain mostly constant and there is no disk activity for the process for several minutes, this could mean that the process is stuck. You might have to kill it, but proceed with caution. Hopefully if this is an update for Visual Studio, the process name should include a version number or some sort of indication of what kind of update is being applied that you can use to search for more information through a search engine or through Microsoft's online resources.
打开任务管理器并停止Visual Studio进程。
Clear out %temp% folder, and re-started VS2019.
这对我很管用。
在虚拟机中打开Microsoft Visual Studio Enterprise 2019 Version 16.4.2时,我也遇到了同样的问题。
以下是我的解决方案,这就是我所做的,它对我很有效:
不要在任务管理器中杀死任何与Visual Studio相关的进程,因为它可能会导致意想不到的行为,甚至让你重新安装 有时是Visual Studio。所以只需等待5到10分钟。所有的 与Visual Studio相关的进程将自动结束。
现在打开你的视觉工作室,它将正常工作。
在我的情况下,我打开Visual Studio安装程序,看到它说
设置失败。单击“重试”继续。
我重新安装后,问题就消失了。