title: Unexpected slow build of C# project in VS 2010
body: <p>I'm working on a pretty simple C# solution with two projects: a class library and an installer for the library. Building the class library itself takes about a second. Building the installer, however, takes an unpredictably/incredibly long time. More interestingly, the CPU appears to be "taking breaks" during compilation, spiking a single core for 5 to 10 seconds and then hitting near-0 for several seconds.</p>
  
  <p>The installer project is pretty simple. It's just the output from the class library (a single DLL, about 2MB) and a few registry keys.</p>
  
  <p>Any ideas what could cause this?!</p>