Visual Studio的构建非常慢 [英] Visual Studio Build Very Slow

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

问题描述

这适用于2008年和2010年的版本(可能更早的人太)。另外要C ++和C#项目。

This applies to both 2008 and 2010 versions (and probably earlier ones too). Also to both C++ and C# projects.

这是初步建成(重启后),以正常的速度和相当不错的CPU利用率运行。经过一段时间(即使用计算机的东西),随后的版本可能会遇到非常,非常缓慢,非常的的CPU利用率。我发现唯一的解决方法似乎是重新启动,那么周期又重新开始。这发生在WPF和非WPF项目,虽然它是用WPF糟糕10倍。

An initial build (after reboot) runs at normal speed and with reasonably good CPU utilisation. After "some time" (ie using the computer for "stuff"), a subsequent build might run very, very slowly and with very low CPU utilisation. The only fix I have found seems to be a reboot, then the cycle starts all over again. This happens on both WPF and non-WPF projects, though it's 10 times worse with WPF.

这发生在我身上不同的机器上,即使工作了不同的组织,所以我认为这是一个Visual Studio的东西,而不是环境的事情。我试过平时(谷歌,关闭AV,智能感知,ReSharper的等,目前期待获得SSD我有顺序)。

This has happened to me on different machines, even working for different organisations, so I think it's a Visual Studio thing, not an environment thing. I've tried the usual (Google, turn off AV, Intellisense, Resharper etc, and currently looking forward to getting the SSD I have on order).

我目前的机器规格是2.7gig四核,4GB内存,XP(没有在工作中得到了Win7的还),250GB硬盘等

My current machine spec is 2.7gig quad core, 4GB RAM, XP (haven't got Win7 at work yet), 250Gb hdd etc

任何人有什么想法是什么,这可能是和如何解决它?

Anyone got any ideas what this could be and how to fix it?

在此先感谢!

推荐答案

试试这个,因为它为我工作

try this as it worked for me

preSS窗口+从开始R或打开运行

press window+R or open run from start

现在键入%,并从那里删除一切...

Now type %temp% and delete everything from there...

再现在打开运行,键入prefetch,并从那里也删除所有内容。

Now open Run again and type prefetch and delete everything from there also.

现在打开VS,看看性能

now open VS and see the performance

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

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