views:

237

answers:

2

Hi

I have Win 7 Enterprise. If i open any .cs file on VS 2008/2010 it gives a message " Visual Studio has stopped working" on a dialog box. There are two buttons "Debug" and "close program". Debug button starts devenv in debug mode with assembly code as i do not have the pdb file for the same.

There is another machine with same configuration where the VS 2008/2010 Ultimate works fine. Even reinstalling Win 7 did not solve the problem. Any idea why it is happening?

A: 

Try with some standard VS troubleshooting steps:

  • Clean the solution
  • Delete / rename all files in your solution created by VS, i.e. all .ncb, .suo, .user files
  • Launch Visual Studio with all add-ins disabled: devenv.exe /SafeMode
  • Reset All Settings: Tools -> Import / Export Settings -> Reset All Settings
  • Delete HKCU:\Software\Micosoft\VisualStudio\9.0 and then restart Visual Studio
  • Repair the Visual Studio installation through Add/Remove Programs
0xA3
I guess the solution file was the culprit. I took a latest .sln file from TFS and it worked fine.
Amit
A: 

Hey i had the same problem some time back but was solved when i installed this patch fix.

Check it out here -
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=26662.

Tobby
Hey its Intellisense patch.. I am facing the problem with VS 2008 also..!
Amit