Visual Studio 2008 at 100% CPU scrolling text

The Visual Studio text editor has been feeling very sluggish. It finally got so annoying, when just holding down the down arrow to scroll down was taking 1 second per line (and devenv.exe would peak in CPU % Task Manager), that I decided I needed to figure out what the problem was.

Running devenv.exe with the /safemode option resulted in a well-performing editor, so the next step was to isolate which add-in(s) was the culprit..

  1. Resharper 4.5 nightly build..
  2. TestDriven.NET
  3. Gallio
  4. CAT.NET
  5. Spelling add-in
  6. VisualSVN
  7. Visual Studio SDK
  8. WiX

And that did the trick. Looks like this bug has been identified in WiX, so hopefully the next public build will resolve the problem. In the meantime, the workaround is to unload any WiX projects in your solution.

Now to re-install everything again :-)

Written on March 31, 2009