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

在进行设置时无法运行

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


当前回答

在我的情况下,我使用的是2019版。

我想装置是在后台进行的。过一会儿门就开了。如果通过查看安装程序有一个丢失的包,您也可以尝试安装它。

其他回答

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

尝试检查任务管理器并杀死任何与Visual Studio相关的进程(任何版本)。

更新: 正如许多人在评论中提到的,最好等一段时间,直到这些过程自己结束

不是杀死VSIXAutoUpdate.exe,而是应该能够阻止它启动,因为它似乎是由任务调度程序运行的。转到调度程序中的Microsoft/VisualStudio文件夹,你会看到一个或多个名为VSIX自动更新的任务(我猜每个安装的VS版本都有一个)。右击并禁用…你可能会失去VS扩展自动更新的功能,但愿仅此而已。

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

它是扩展自动更新处理正在运行。你可以杀死他们或等待他们完成(推荐)