Visual Studio 2008 freeze after save

Posted by Klay on Stack Overflow See other posts from Stack Overflow or by Klay
Published on 2010-03-10T18:59:52Z Indexed on 2010/03/11 18:44 UTC
Read the original article Hit count: 361

Filed under:

I recently added about a dozen classes from another solution into my current solution in Visual Studio. After adding these classes, Visual Studio started freezing for about 10 seconds whenever I Save. The cursor disappears and mouse clicks and keys do nothing.

Some interesting points:

  • Even after I removed the classes, the freezing behavior is still there.

  • Freezing occurs whether I've made changes to the code or not.

  • This behavior ONLY seems to affect this particular version of this solution. No other solutions exhibit this behavior. Older versions of this solution are not affected.

  • In Sysinternals Process Explorer, whenever I save in Visual Studio, the I/O bytes graph jumps from 0 to 2MB for about 5 seconds, then drops to about 1 MB for a split second, then jumps back to 2MB for another 5 seconds. Processor use goes up to about 3-5% during this time.

Here are the details of my setup:

C# Silverlight project (maybe 20 classes), .NET version 3.5 SP1, Visual Studio 2008 v9.0.30729 SP1.

EDIT:

I edited this question extensively to reflect the more detailed information. I thought this might be preferable to starting a new question.

© Stack Overflow or respective owner

Related posts about visual-studio-2008