Sunday, October 27, 2013

CRM Developer Toolkit for Microsoft Dynamics CRM 2013 - Visual Studio 2012 Crashing

After CRM 2013 was released I decided to install CRM Develoepr toolkit for CRM 2013 on my workstation. After I tried to create CRM Package solution I have got following error and VS crashed and restarted:

In event viewer I found following error:
Faulting application name: devenv.exe, version: 11.0.60315.1, time stamp: 0x5142bb7b
Faulting module name: msenv.dll, version: 11.0.60315.1, time stamp: 0x5142bb91
Exception code: 0xc0000005
Fault offset: 0x0009467d
Faulting process id: 0x1804
Faulting application start time: 0x01ced347fa656660
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
Faulting module path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\msenv.dll
Report Id: 7faf6b4b-3f3b-11e3-a4eb-e1498e4f5d0e

This description hasn’t helped me to find the source of an error and fix it so I started to look for a solution  on the Internet and found following article written by Jason Lattimer - http://jlattimer.blogspot.com/2013/02/crm-developer-toolkit-visual-studio.html

So it seems that the reason for crash was some extension for VS. The only extension I have installed was .Net Reflector Visual Studio Extension 8.0:

So I opened “Programs and Features” menu, uninstalled extension and crashing stopped. I hope this trick will help someone.