Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Visual Studio constantly crashing?

Visual Studio randomly crashes when adding/removing references and projects. Any thoughts why? Will installing Sp1 help?

EDIT: I do not work with any addons except SourceSafe. I do most of my development in connected mode.

Developing using:
Visual Studio 2008
WinXp Terminal Service -> Win2k3 Sp2 (64bit)
VSS 8.0, 32bit

like image 390
Nescio Avatar asked Sep 18 '08 20:09

Nescio


People also ask

Why does Visual Studio crash all the time?

If you experience crashes of Visual Studio, typically when working with a very large solution, your IDE might be out of virtual memory. Typical indicators of the problem include a "one or more errors occurred" message, "the process appears to be deadlocked" message, and OutOfMemory exception in a crash dump.

Why does Visual Studio keeps freezing?

The freeze of the solution is caused by a feature that is meant to fasten up solution loading: parallel project initialization. It seems to be an issue that some others already had with 16.2. x versions, so it may be a regression (as it is flagged as fixed).

Why does my program keep crashing?

Windows 10 apps are crashing due to an update that was installed incorrectly or from software bugs and issues. To fix this annoying problem, make sure to check both your antivirus and firewall settings. You can also try to reset the apps you're having issues with, before trying other solutions.


1 Answers

Try deleting your .user and .suo files - these are the user options files that VS creates. You get a .user file for each project and a .suo file for your solution. When they get corrupted, odd things happen. Deleting them will make you lose little things like which project is selected as the startup project when you start debugging, but it usually clears up odd behavior like this.

You may also want to clear out any temporary file locations, like the Temporary ASP.NET Files folders (if you're working in ASP.NET) just in case something odd is being cached somewhere.

like image 108
Travis Illig Avatar answered Sep 30 '22 18:09

Travis Illig