Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I troubleshoot Visual Studio which is hanging when loading ASP.NET MVC project?

Yesterday I worked on an MVC 3 project in Visual Studio 2010 and then shut down Visual Studio before leaving work.

This morning when I try to load the same project in Visual Studio the project hangs. I have restarted my computer, disabled all add-ons and extensions that I could. Still no banana.

I have no idea how to troubleshoot this. I would try to clean the solution if I could get it to load but I can't. (Can I clean the solution from the VS command window?).

Any help would be greatly appreciated. How do I troubleshoot this?

Seth

like image 489
Seth Spearman Avatar asked May 03 '12 13:05

Seth Spearman


People also ask

Can we run MVC in Visual Studio code?

Visual Studio Code (VS Code) allows you to create ASP.NET MVC application on Windows and Mac systems.


2 Answers

You could try starting visual studio from the command line with logging enabled.

There a several other switches available, which may also be useful, like starting in safemode...

like image 142
Sam Holder Avatar answered Oct 08 '22 20:10

Sam Holder


Though it is something unexpected. A wild guess Try resetting user settings of Visual Studio

like image 2
Deepesh Avatar answered Oct 08 '22 21:10

Deepesh