Visual Studio中挂起20秒开始建房前 [英] Visual Studio hangs for 20 seconds before start building

查看:210
本文介绍了Visual Studio中挂起20秒开始建房前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经得到了与Visual Studio 2010和一个项目(VB.net)的建设时间问题。我会说该项目是大只是一个DLL,以便当建筑物本身的时间持续长一点然后在其他项目上我能理解。

I've got a problem with the visual studio 2010 and the building time of one project (VB.net). I would say the project is large for just one DLL so I could understand when the building time itself lasts a little bit longer then on other projects.

但奇怪的是:当我开始构建,下面一行显示了输出窗口:
------建立开始:项目:kaCtrl,配置:调试任何CPU ------

But the weird thing is: When I start building, the following line shows up on the output window: ------ Build started: Project: kaCtrl, Configuration: Debug Any CPU ------

然后它看起来像编译器是无所作为。即使我改变输出选项诊断,看在建筑过程中的每一步,只是没有任何反应。 20秒后的生成开始和以1秒完成。

And then it looks like the compiler is doing nothing. Even if I change the output option to "diagnostic" to see every step in the building process, just nothing happens. After 20 seconds the build starts and is finished in 1 second.

但是,到底什么是Visual Studio在这20秒在做什么?请问有什么可以禁止,使其更快?

But what the heck is the visual studio doing in this 20 seconds? Is there anything I can disable to make it faster?

推荐答案

我也有这个问题,当我分析这个问题,我想通了,这是吃了过多的CPU内存在这(在任务管理器 - >性能检查) time.So我做了什么,使其更快了,我停了一些不必要的服务(其中占用CPU内存的一些具体数额)如办公,土坯等,并关闭所有其他其他应用则VS2010和执行我的命令。奇迹发生了。它建立在5秒内约。不知道它是否会制定出适合你或没有,但绝对值得的机会。所有你最好

I too had this problem, when I analysed this problem I figured out that it was eating too much CPU memory (checked in task manager-> performance) during this time.So what I did to make it faster was, I stopped some unnecessary services (which consume some specific amount of cpu memory) like office, adobe, etc and closed all other apps other then vs2010 and executed my commands. Magic happened. It build in 5 seconds approximately. Not sure whether it will work out for you or not but definitely worth a chance. All thee best

这篇关于Visual Studio中挂起20秒开始建房前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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