我试图打开Visual Studio,但它给出了一个错误:

在进行设置时无法运行

在我重新启动机器之前,它运行正常。我已经安装了这个版本从过去的一年。


当前回答

很可能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,但由于某种原因失败时,我得到这个错误消息。

要修复此问题,请执行以下步骤(Windows)

>应用程序> Visual Studio安装程序>单击“修改”

您应该看到一条错误消息,上面写着“无法应用更新”之类的内容,您可以单击按钮重试。

在我的最新实例中,它是对. net桌面开发工作负载的一个小更新,没有正确下载或安装。

我发现“缓解”痛苦的唯一方法是打开win 10任务管理器,右键单击VSIXAutoUpate.exe,在上下文菜单中选择进入详细信息,右键单击VSIXAutoUpate.exe,再次在上下文菜单中选择设置优先级并选择实时......正如我所说,这是为了减轻痛苦,而不是结束痛苦

进入任务管理器。进程下查找vn。单击“结束进程”。

启动任务管理器并结束与Visual Studio相关的任何进程。

在Visual Studio 2017中,我必须结束这些过程:

Visual Studio 2017 TFS电动工具外壳扩展

然后我可以启动VS2017。