VS2015在“正在卸载项目文件..."中随机冻结. [英] VS2015 freezes randomly in "Unloading project file..."

查看:133
本文介绍了VS2015在“正在卸载项目文件..."中随机冻结.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我停止"时,执行我的程序,然后VS2015随机冻结,状态为正在卸载项目文件..." ...

When I "Stop" execution of my program, then randomly VS2015 freezes with the status "Unloading project file..."...

我要杀死VS2015.

I have to kill VS2015.

以安全模式运行无济于事.

Running in safe mode doesn't help.

点击VS2015设计器会显示一个对话框"Visual Studio忙...".

Clicking VS2015 designer shows a dialog "Visual Studio is busy...".

嗯:(

有什么建议吗?

推荐答案

欢迎来到MSDN论坛

是否会随机冻结该问题仅发生在该程序或所有程序上吗?如果 在其他项目中也可以正常使用,请尝试以下操作来解决此问题特刊:

Does this randomly freeze issue is only happens to this program or for all programs? If it works fine for other projects, please have a try with the following to trouble this special issue:

1.删除 解决方案文件夹下的.suo或.vs文件,.vs文件夹可能隐藏.

1. Delete the .suo or .vs file under your solution folder, the .vs folder might be hidden.

2.清理或卸载此程序,然后再次重新加载

3.备份程序并创建一个新的空解决方案,然后添加项目以再次检查此问题

如果此问题仍然存在对于其他人,看来这个问题与VS更相关,请进行如下测试:

1. 删除或重命名以下文件夹:

1. Delete or rename the following folders:

•C:\ Users \ <您的用户名> \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0

•C:\ Users \<您的用户名> \ AppData \ Roaming \ Microsoft \ VisualStudio \ 14.0

2. 请打开管理CMD窗口并导航到C:\ Program Files(x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE,然后运行以下命令,并且在每个命令之后, 打开VS再次检查此问题:

2. Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run the following commands and after each command, open VS to check this issue again:

  • devenv/resetuserdata:清理旧的用户数据
  • devenv/resetsettings:如果要保留,将自定义设置重置为默认设置当前设置,您需要先将其导出,然后再重置,请转到工具导入" 和导出设置…
  • devenv /resetuserdata: clean up the old user data
  • devenv /resetsettings: reset the customized setting to the default setting, if you want to keep the current setting, you need to export it before resetting it, please go to Tool-Import and Export Settings…

3.转到控制面板-程序和功能",然后右键单击VS 2015,然后选择更改修复".

如果上述方法没有工作, 我需要您的帮助来收集VS运行时日志,请运行以下命令: 在评估的命令提示符下 devenv/log .并将文件(%APPDATA%\ Microsoft \ VisualStudio \ Version \ ActivityLog.xml )上传到 并在此处共享链接.

If the above methods not work, I need your help to collect the VS runtime logs, please run the command: devenv /log in the evaluated command prompt. And upload the file (%APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml) to https://onedrive.live.com/ and share the link here.

最好的问候,

Sara


这篇关于VS2015在“正在卸载项目文件..."中随机冻结.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆