I want to let all readers of this thread know about a known issue which has recently been fixed by a CLR hotfix KB963676. This fixes an issue whichcan cause the WPF designer in Visual Studio 2008 SP1 to crash.
If:
1.You experience a "hard crash", where Visual Studio simply disappears without any user interaction, watson dialogs etc
2. You check your event log around the times the crashes occur and see entries that look similar to this: �.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (6ABD0F92) (0)�
It is almost certain that you have the problem and will benefit from installing the Hotfix. Instructions for installing the Hotfix are below.
Instructions for installing KB963676 CLR Hotfix for the "Grant Set Exception" crash issue
1.Visit
https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&wa=wsignin1.0 (this is a temporary download page pending the release of the final KB article text for the CLR hotfix)
2.Download the correct version of the patch for your system (this is very important):
a.For Windows Vista or Windows Server 2008 32 bit systems choose Windows6.0-KB963676-x86.msu
b.For Windows Vista or Windows Server 2008 x64 bit systems choose Windows6.0-KB963676-x64.msu
c.For Windows Vista or Windows Server 2008 ia64 bit systems choose Windows6.0-KB963676-ia64.msu
d.For Windows XP or Windows Server 2003 32 bit systems choose NDP20SP2-KB963676-x86.exe
e.For Windows XP or Windows Server 2003 x64 bit systems choose NDP20SP2-KB963676-x64.exe
f.For Windows XP or Windows Server 2003 ia64 bit systems choose NDP20SP2-KB963676-ia64.exe
g.Note:
•There is no Windows 7 version of this Hotfix �the fix will be rolled into the version of the .NET framework that ships with Windows 7 when it releases, but if you are running a prerelease Windows 7 such as the Beta release you will not be able to use this hotfix
•The 64 bit installers will automatically patch both 32 and 64 bit versions of the CLR �this is important as the Visual Studio WPF designer is a 32 bit application
3.Install the KB963676 Hotfix you downloaded, and reboot your system
4.Use Visual Studio 2008 SP1 to develop in WPF as usual
We believe this hotfix will fix many of the crashing issues WPF designer users have been experiencing.
Regards
Mark Wilson-Thomas
Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is'