我试图打开Visual Studio,但它给出了一个错误:
在进行设置时无法运行
在我重新启动机器之前,它运行正常。我已经安装了这个版本从过去的一年。
我试图打开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.
其他回答
按Win+R,输入%temp%,然后删除所有文件,并重新启动Visual studio。
勾选“为所有项目执行此操作”,如果需要按跳过按钮。
尝试检查任务管理器并杀死任何与Visual Studio相关的进程(任何版本)。
更新: 正如许多人在评论中提到的,最好等一段时间,直到这些过程自己结束
对于VS2019上的相同问题,清除%temp%文件夹对我有用。
试着重新启动你的电脑。这对我很管用。
在我的任务管理器中有visual studio 2012更新的过程,我结束了这个过程,我的VS 2015工作正常…进入任务管理器,寻找任何(版本)VS更新流程,并结束该流程。