devenv.com挂在VS 2013中 [英] devenv.com hangs in VS 2013

查看:84
本文介绍了devenv.com挂在VS 2013中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我们的自动构建中的命令行或FinalBuilder操作调用devenv.com时,它有时会挂起,并且永远不会越过编译步骤.

When calling devenv.com from command line or FinalBuilder action within our automated build it sometimes hangs and never gets past compiling step.

使用以下参数从C:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ Common7 \ IDE中调用它:

It is called with this parameters from C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE:

devenv.com /build "Release|Any CPU" "D:\MyProject\MySolution.sln"

它永远挂在这一步上.当我在VS 2013中打开它并重新构建解决方案时,它每次都能正常工作.

It hangs forever on this step. When I open it in VS 2013 and ReBuild the solution it works fine every time.

有什么想法吗?我也在其他构建机器上尝试过,并且功能相同.因此它与机器无关.

Any ideas? I've also tried it on other build machines and it does the same. So it is not machine dependent.

推荐答案

经过大量的故障排除和各种日志,解决方案,谷歌搜索之后,我发现这是由Visual Studio 2013中的扩展管理器引起的. 您可以在所有Visual Studio版本->工具->扩展和更新中找到扩展管理器.

After a lot of troubleshooting and looking through various logs, solutions, googling, I figured out that this is caused by the Extension Manager in Visual Studio 2013. You can find the extension manager in all Visual Studio version -> Tools -> Extensions and updates.

因此,通过卸载 Visual Studio 2013中的Nuget软件包管理器,使解决方案每次都能成功编译.

So by uninstalling the Nuget Package Manager from Visual Studio 2013, made it the solutions compile successfully every time.

这篇关于devenv.com挂在VS 2013中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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