views:

725

answers:

4

Mostly it happens if we open a team project from tfs 2008 or tfs 2010, but crashes can happen any time.

When VS is closing down, it crashes nearly every time.

Tried trial RTM and our MSDN download - same story. Tried on three different PCs - same issue. Tried on 32 and 64-bit Windows 7 and Windows Server 2008 R2 - crashes.

Is it just our luck or does it happen to you to?

+1  A: 

Here are some tips that will hopefully help you identify the problem: http://blogs.msdn.com/kirillosenkov/archive/2010/02/08/how-to-investigate-and-report-visual-studio-issues.aspx

Ideally, get a call stack of the devenv.exe main thread with symbols loaded, and post it here (or even better), attach to the Connect bug. From the stack we'll likely be able to tell what kind of problem it is.

Kirill Osenkov
Thanks, Kirill.
Andrei Drynov
+1  A: 

Apparently, the crash was caused by using a DNS name in Connect to Team Foundation Server.

I replaced that with the IP address of the TFS server and the crashes went away.

We have two Windows Server 2003 DNS servers, and it looks like Visual Studio 2010 does not communicate with them correctly. Visual Studio 2008 connects to the TFS without any issues.

Andrei Drynov
A: 

Apparently, there a bug:

"Large Visual Basic project crashes when closed"

http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=29797

Andrei Drynov
A: 

I logged it as an issue on Microsoft Connect.

There is a new release of the TFS Power Tools and Visual Studio 2010 Productivity Power Tools which seem to reduce the instances of VS crashing (although it still seems to crash from time to time). It might be worth checking out if you use either add-in.

RobS