Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 crash

We are running into a problem opening our MVC5 solution in Visual Studio 2017. It will show a message saying loading projects, followed by "Preparing solution" and then it just freezes. Some preliminary research has lead to suggestions like

  1. Remove the hidden .vs folder
  2. Repair installation by running as admin
  3. Updating to the latest released VS build
  4. Remove any node.js type folders that have deeply nested folder structure within the solution folder

However, none of these have worked. Has anyone else run into a similar problem using VS 2017 with their solution? There are no special commands on packages loaded on startup.

like image 203
outstacked Avatar asked Mar 23 '17 15:03

outstacked


People also ask

How do I fix Visual Studio from crashing?

Use Visual Studio normally to reproduce the crash, once crash occurs let all Windows crash dialogs finish processing. Go to %LOCALAPPDATA%\CrashDumps and locate the latest dump file for devenv.exe process. You can then attach this file to the feedback issue.

Is Visual Studio 2017 supported?

Visual Studio 2017 - Microsoft Lifecycle | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Is there a 64 bit version of Visual Studio 2017?

Visual Studio Team Foundation Server 2017 will install and run on the 64-bit versions of the following operating systems: Windows 10 version 1507 or higher: Home, Professional, and Enterprise.

Why my VS code is crashing?

If while opening a large file, VSCode freezes and then crashes, you need to delete some files. So, open Run, paste “%AppData%” and click Ok. Now, open Code > Backup and then delete the only folder that is inside that directory. Finally, restart VSCode and see if the issue persists.


3 Answers

I was able to finally get it to work. I updated to the latest Visual Studio build 15.0.0+26228.10, but that did not seem to help. After removing my .vs folder before opening the solution multiple times, it finally started to load. I have no 3rd party extensions or tools running.

like image 173
outstacked Avatar answered Oct 16 '22 06:10

outstacked


I installed visual studio enterprise 2017 version 15.0.0+26228.10. and productivity power tool extension. the studio keep crashing when load project. I uninstall everything and reinstall vs only, the crash problem disappeared.

like image 39
starbugs Avatar answered Oct 16 '22 06:10

starbugs


Deleted the vs folder, but it didn't work.

Looked for recently changed files in the project, saw Web.csproj.user — when I removed this the project works again.

like image 1
Mikal Madsen Avatar answered Oct 16 '22 07:10

Mikal Madsen