Visual Studio has stopped working - on Win 7

compiler-errors, visual-studio, visual-studio-2008, windows-7

Solution

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

Problem

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?

Original source

Related problems