I have a 12 Core Intel I-7 Windows 7 PC with 12 Gigs RAM, and an HD with 1.1 Terabyte free space. I've had a solution I have been building for a few years now, and we just switched all of the projects to use .Net 4.0 (Instead of 2.0).
At the same time the compile times have gone way up. I've watched the Processes and the CPU Usage isn't much at all (and yes, it seems to be using all CPUs). I searched the net for a few suggestions to overcome this, and have defragged my hard drive, uninstalled Spyware, etc. with no effect.
Also, I have updated my VS 2010 to SP1.
Can anyone tell me why my complile times have slowed down so much with 4.0, and what can I do?
- 編集済み MarketWare 2012年4月2日 20:20
I'm not aware of any issues with build times. Are you building using multiple processors? Did you change to a newer version of Visual Studio? Are you using a different directory structure?
Michael Taylor - 4/2/2012
No I've been using VS 2010 since last fall. The only change is going from 2.0 to 4.0 runtime. All directories are the same. Also, we are using Plastic SCM for source control, but when we began using it last month my build times were just fine.
To give you a sense of it, my previous build time was less than 30 seconds. Now it takes over 3 minutes and there are big pauses in the middle for some reason.
Any ideas would be appreciated.
So if you just change the target framework back to v2.0 does the build time drop back down?
Michael Taylor - 4/3/2012