Wednesday, March 11, 2009
« CSLA .NET 3.6.2 beta release | Main | Introducing Marimer, LLC »

I have been working extensively with both WPF and Silverlight over the past many months. Not too long ago, my workstation started having trouble – specifically Visual Studio 2008 was crashing when trying to open XAML files. Not just crashing either; Visual Studio was disappearing in the blink of an eye.

This started happening every now and then, and became more frequent until it was happening multiple times a day.

After working with some Microsoft people to try and trace down the problem (which we never really did – as it is hard to attach a debugger or other diagnostic tool to VS after it disappears), they suggested I try this patch:

https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&wa=wsignin1.0

(the *.msu are for Vista and Server 2008, and *.exe are for XP and Server 2003, and the x86 patch should be used for 64 bit machines too

Update: For x64 users, you should install the x64 patch, and this will update the 32 bit CLR as part of the installation)

This patch solved my problem. Just like that.

Apparently this patch solves a wider set of problems related to stability when editing or working with XAML files in Visual Studio, and is a generally good thing to apply for developers working with WPF and Silverlight.

Wednesday, March 11, 2009 8:20:38 PM (Central Standard Time, UTC-06:00)
OMG, I have been using Notepad due to this exact issue.
Thursday, March 12, 2009 5:14:48 AM (Central Standard Time, UTC-06:00)
My VS2008 crashes about 5 times a day 'cos of XAML issue. Actually I've got used to that and every time it's going down I'm restarting it (our huge project takes a lot of time to load) and go make some coffee. Looks like I'll drink less from today.
Thursday, March 12, 2009 9:05:26 AM (Central Standard Time, UTC-06:00)
And I thought it was just me! Thanks for sharing. This will improve my quality of life.
Dave
Thursday, March 12, 2009 1:34:26 PM (Central Standard Time, UTC-06:00)
I have the same issue.

Thanks for blogging this.
Thomas
Thursday, March 12, 2009 4:33:33 PM (Central Standard Time, UTC-06:00)
THANK YOU!!! Google has been no help on this one.
pondosinat
Thursday, March 12, 2009 6:37:53 PM (Central Standard Time, UTC-06:00)
Thank you Rocky! BTW you mentioned "the *.msu are for Vista and Server 2008 ... and the x86 patch should be used for 64 bit machines too" But, they have a file called Windows6.0-KB963676-x64.msu in addition to the Windows6.0-KB963676-x86.msu ... if I have an x64 Vista workstation; shouldn't I install Windows6.0-KB963676-x64.msu? Did you hear something different?

Chris
Chris
Friday, March 13, 2009 10:46:37 AM (Central Standard Time, UTC-06:00)
Rocky,

Thank you for posting this fix, hoping this will correct the crashing problem.

FYI: There is no patch for Windows 7 user yet.

There will be an official KB article soon.

Cheers,

Karl
Sunday, March 15, 2009 10:18:34 PM (Central Standard Time, UTC-06:00)
This is just what I needed, thank for pulling me out of frustration!
Saturday, April 25, 2009 4:39:26 AM (Central Standard Time, UTC-06:00)
thanks for the fix, i thought my computer was infected with virus. I scanned with different Viri engine but nothing found. Thanks a lot.
Comments are closed.