我试图打开Visual Studio,但它给出了一个错误:
在进行设置时无法运行
在我重新启动机器之前,它运行正常。我已经安装了这个版本从过去的一年。
我试图打开Visual Studio,但它给出了一个错误:
在进行设置时无法运行
在我重新启动机器之前,它运行正常。我已经安装了这个版本从过去的一年。
当前回答
解决方案:不要只是打开任务管理器并杀死vsautoupdate .exe正在更新的所有进程,这将在您尝试启动Visual Studio时出现问题,因为更新未完成。相反,等待更新完成,这是当你启动Visual Studio。如果你不再需要定期更新的Visual Studio组件,同样建议通过Visual Studio安装程序卸载该组件
其他回答
我今天在冷引导(在虚拟机上)后遇到了这个错误,并找到了解决方案。
Windows >服务 寻找具有类似“Visual Studio Standard Collector service”名称的服务 右键单击项目并启动服务=> Visual Studio现在应该可以启动了
为了防止下次重新启动时发生这种情况(至少在有重新引入错误的更新之前),您可以:
右键单击该项并选择Properties 设置启动类型为“自动” 选择应用
使用:VS Community 2019,版本16.1.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安装程序,单击修改,并启动visual studio。这解决了问题。
不是杀死VSIXAutoUpdate.exe,而是应该能够阻止它启动,因为它似乎是由任务调度程序运行的。转到调度程序中的Microsoft/VisualStudio文件夹,你会看到一个或多个名为VSIX自动更新的任务(我猜每个安装的VS版本都有一个)。右击并禁用…你可能会失去VS扩展自动更新的功能,但愿仅此而已。
我发现“缓解”痛苦的唯一方法是打开win 10任务管理器,右键单击VSIXAutoUpate.exe,在上下文菜单中选择进入详细信息,右键单击VSIXAutoUpate.exe,再次在上下文菜单中选择设置优先级并选择实时......正如我所说,这是为了减轻痛苦,而不是结束痛苦