Visual Studio 2015 Update 1 crashes on Controller Scaffolding

asp.net-mvc-5.1 entity-framework-6 visual-studio-2015

Question

I'm trying to use EF6.1.3 and Visual Studio 2015 to make some simple CRUD pages, but I keep getting errors whenever I go to "Add Controller"

I tried everything from reinstalling Entity Framework to reinstalling Visual Studio completely. I've created a new empty web app and tried to add a controller and I get the same crash.

I originally had VS2015 before update 1 and had the same problem. I thought Update 1 would fix it but no luck.

There is no error message. VS just shuts down and restarts. There is something in the event log but it doesn't seem to be too helpful:

Log Name: Application Source: Application Error Date: 12/2/2015 2:00:17 PM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: john2015.se.local Description: Faulting application name: devenv.exe, version: 14.0.24720.0, time stamp: 0x564ea97e Faulting module name: MSVCR120_CLR0400.dll, version: 12.0.52512.0, time stamp: 0x5525ef9d Exception code: 0xc00000fd Fault offset: 0x0007e19c Faulting process id: 0x3360 Faulting application start time: 0x01d12d16201217b1 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe Faulting module path: C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll Report Id: 0314ac86-6bbd-49fa-a05c-bbf5724ae101 Faulting package full name: Faulting package-relative application ID: Event Xml: 1000 2 100 0x80000000000000 10130 Application john2015.se.local devenv.exe 14.0.24720.0 564ea97e MSVCR120_CLR0400.dll 12.0.52512.0 5525ef9d c00000fd 0007e19c 3360 01d12d16201217b1 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll 0314ac86-6bbd-49fa-a05c-bbf5724ae101

1
3
12/2/2015 7:19:18 PM

Popular Answer

This helps me:

  1. Close Visual Studio.
  2. Open administrative cmd in folder C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
  3. devenv.exe /resetsettings
  4. devenv.exe /resetuserdata

Open Visual Studio.

2
12/6/2015 9:05:40 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow