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

在进行设置时无法运行

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


当前回答

在这里输入图像描述 打开任务管理器,有一个名为VSStandardCollectorService150的服务,右键单击启动它。 这是为我在VS2019上的同一问题工作。

其他回答

我从Windows任务管理器中启动了Windows安装程序服务,然后打开了Visual Studio 2019 (这里建议的解决方案对我来说很有效)

很可能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.

我也有同样的问题。我的问题是VSIXAutoUpdate。我一直等到处理结束。您可以在任务管理器(Ctrl + Alt + Del)中看到VSIXAutoUpdate。 VSIAutoupdate有时可能是一个恶意软件,所以你必须检查任务管理器中的属性中的详细信息(右键单击VSIXAutoUpdate)。 你可以看到下面的网页:

https://www.file.net/process/vsixautoupdate.exe.html

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

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

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

然后我可以启动VS2017。