Visual Studio sleep mode bug (Connect #507665)

Posted: (EET/GMT+2)

 

In Visual Studio 2010, there is a known bug when resuming the computer from a sleep mode. This bug causes Visual Studio to crash or force you to reload your source code file(s) and/or the project/solution. The issue has already been previously reported on Microsoft Connect web site (see connect.microsoft.com) with the id 507665.

Some developers have asked me about this bug, and I run into it myself now and then as well. My own findings indicate that the bug raises its head whenever some of the following conditions are true:

  • You have a project open in Visual Studio with active source code files open in the editor(s).
  • The project files are hosted on network drives and/or UNC paths, for example S:\ or P:\
  • You are using Team Foundation Server as your version control system, *and* the server is not installed locally (i.e. on the same computer).

Do you experience the same issue with Visual Studio? If yes, share your findings at the Connect site, or send me an email.