Visual Studio 2015在构建后挂起 [英] Visual Studio 2015 hangs after build

查看:85
本文介绍了Visual Studio 2015在构建后挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我构建它时,只有一个特定的解决方案(或者可能只是其中一个项目),VS 2015在构建完成后挂起。它是否成功构建没有任何区别。当它出现错误时很糟糕,因为在它构建
并且失败之后,它有时需要大约5分钟才能启动IDE,因为再次响应所以我必须先去喝咖啡或其他什么才能解决问题。在成功构建时,它会在挂起之前写入EXE和所有内容。我在构建设置中最大限度地减少了
,在完成并给我成功之后,没有其他信息告诉我它在接下来的5分钟挂起时做了什么。


我该怎么做才能知道发生了什么?我尝试通过devenv / log启动ide并查看ActivityLog.xml,但我看不到任何看似异常的内容。



有什么建议吗?


谢谢,


尼克

解决方案

< p style ="line-height:106%">嗨尼克,


欢迎来到MSDN论坛。


< p style ="line-height:106%">


>>仅限于一个特定的解决方案(或者只是一个它的项目)每当我构建它时,VS 2015在构建完成后挂起。


因为你只遇到了这个问题在特定的解决方案上,很难说这个问题与视觉工作室有关。您可以打开计算机管理以检查是否有关于visual studio的日志。



此外,尝试从4更改并行项目构建的最大数量在工具/选项/项目和解决方案/构建和运行下1,并禁用您的电脑上的任何防病毒。


祝您好运,


Joyce


Only on one particular solution (or maybe just one of the projects of it) whenever I build it, VS 2015 hangs after the build completes. Whether it builds successfully or not makes no difference. It sucks when there's an error though because after it builds and fails, it takes sometimes around 5 minutes before the IDE because responsive again so I have to go get some coffee or something before I can fix the problem. On successful builds, it writes the EXE and everything long before the hanging. I have turned on maximum verbosity in the build settings, and after it completes and give me the successful, there is no additional information that tells me what it was doing for the next 5 minutes of hanging.

What can I do to find out what's going on? I've tried launching the ide through devenv /log and looked at the ActivityLog.xml but I see nothing in there that seems abnormal.

Any suggestions?

Thanks,

Nick

解决方案

Hi Nick,

Welcome to MSDN forum.

>>Only on one particular solution (or maybe just one of the projects of it) whenever I build it, VS 2015 hangs after the build completes.

Because you met the issue only on particular solution, it’s hard to say the issue is related to visual studio. You could open computer management to check if there is any log about visual studio.

Besides, trying to change the Maximum number of parallel project builds from 4 to 1 under Tools/Options/Projects and Solutions/Build and Run and disable any anti-virus on your pc.

Best regards,

Joyce


这篇关于Visual Studio 2015在构建后挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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