It does not do it all the time.
views:
140answers:
7Another alternative:
- Study for 10 years to become a really good programmer
- Apply for (and get) a job at Microsoft in the Visual Studio team
- Fix the bug
I would highly consider uninstalling and then installing Visual Studio again. Afterwards make sure you have installed available service packs for your VS version.
- Does it happen on all projects or a specific one?
- Does it only occurs when a specific file is open?
- Try re-installing visual studio and any/all service packs.
First, check Windows Update and make sure both VS environments are up to date.
If that doesn't help, uninstall them both completely, reinstall only 2005, update and test it. If 2005 doesn't crash, install 2008, update and test them both. Don't install any add-ons you may have been using until you've reinstalled and tested both editions of VS.
If one or the other does crash, you should try filing a bug against Visual Studio.
If they didn't crash, install any add-ons that you use one at a time and continue to test both editions after each one. (This will take ages, but that's how it has to be) When they start crashing, remove the offending add-on, and file a bug with the add-on developer. (be sure to tell them what other add-ons you're using, in case it only happens when 2 conflicting add-ons are installed.)
Try to reset the Visual Studio settings (Tools->Import and Export Settings->Reset All Settings).
Maybe you can try to reproduce this using a specific solution and csproject file and report it to Microsoft?
That's the best shot you can ever have.