Xaml Editor Crashes after Visual Studio 2008 SP1 After installation of the Service Pack 1, opening existing XAML files in Visual Studio results in a hard crash of Visual Studio 2008.  It attempts to open the XAML editor, the Visual Studio 2008 disappears.<br><br>The event log as the following entry:<br><br>.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (6FE55E00) (80131506)<br><br>I've not found any reference to this specific error on any error report to date.<br><br>The environment is:<br><br> <ul> <li>Vista SP1 x64</li> <li>Direct Upgrade from Visual Studio 2008 (no betas of Service pack 1)</li> <li>No SilverLight Beta </li> <li>NO KB944899 Hot Fix on the machine</li> <li>Clean install as far as I can tell.</li></ul> <p>Unlike some other reports, I'm unable to create and edit a new XAML file either.  Editing and existing file or creating a new file immediately crashes the IDE.<br><br>What steps can I take to debug this problem?  I have 5 other developers with the same set-up and I don't want to turn them loose on the upgrade until we get to the bottom of the problem.</p>© 2009 Microsoft Corporation. All rights reserved.Mon, 01 Jun 2009 14:54:35 Z61d52410-f101-4725-8a78-00c8d141cca8http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#61d52410-f101-4725-8a78-00c8d141cca8http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#61d52410-f101-4725-8a78-00c8d141cca8Jeff Odellhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeff%20OdellXaml Editor Crashes after Visual Studio 2008 SP1 After installation of the Service Pack 1, opening existing XAML files in Visual Studio results in a hard crash of Visual Studio 2008.  It attempts to open the XAML editor, the Visual Studio 2008 disappears.<br><br>The event log as the following entry:<br><br>.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (6FE55E00) (80131506)<br><br>I've not found any reference to this specific error on any error report to date.<br><br>The environment is:<br><br> <ul> <li>Vista SP1 x64</li> <li>Direct Upgrade from Visual Studio 2008 (no betas of Service pack 1)</li> <li>No SilverLight Beta </li> <li>NO KB944899 Hot Fix on the machine</li> <li>Clean install as far as I can tell.</li></ul> <p>Unlike some other reports, I'm unable to create and edit a new XAML file either.  Editing and existing file or creating a new file immediately crashes the IDE.<br><br>What steps can I take to debug this problem?  I have 5 other developers with the same set-up and I don't want to turn them loose on the upgrade until we get to the bottom of the problem.</p>Wed, 13 Aug 2008 21:53:49 Z2008-08-13T21:53:49Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#5d66bbad-238b-498c-9266-b14c92f57259http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#5d66bbad-238b-498c-9266-b14c92f57259Michael Fordhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FordXaml Editor Crashes after Visual Studio 2008 SP1 <p>I also had the same issue. I heard that using Windows Update helped, but on trying it, it still did not work.<br><br>I found that opening the toolbox panel before opening a project helped. This still caused the IDE to stop responding for a few minutes, but it eventually sorted itself out. Opening a project afterwards showed that it had indeed been fixed.</p>Thu, 14 Aug 2008 01:03:38 Z2008-08-14T01:03:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#cc5ea54b-a27d-4f41-b127-8e7cdd700474http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#cc5ea54b-a27d-4f41-b127-8e7cdd700474Jeff Odellhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeff%20OdellXaml Editor Crashes after Visual Studio 2008 SP1 Admittedly, when I first read Michael's fix using the the Toolbox pane, the solution seemed unlikely.  But I tried it this morning and it worked!  To clarify:<br><br> <ol> <li>I opened up Visual Studio 2008 SP1.</li> <li>I opened up and pinned the Toolbox pane.</li> <li>I opened up the project where the XAML editor was failing.</li> <li>I opened up one of the XAML files, and, as Michael described, it spun a little bit.  In my case - maybe 8-10 seconds.</li> <li>The designer pane filled in with my XAML form displayed.</li></ol> <p>As of this point forward, I can open up the project with or without the Toolbox pane open and the designer works fine.  Something about the procedure resets that pane and allows it to work properly.<br><br>Thank you Michael!</p>Thu, 14 Aug 2008 14:31:22 Z2008-08-14T14:32:59Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#9c09b039-9d2f-472e-a773-39957cdb9339http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#9c09b039-9d2f-472e-a773-39957cdb9339Nick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 Hi Guys,<br><br>I have the exact same problem as explained above, but the solutions are not working. When I first installed it everything was fine, but now out of the blue all XAML files crash VS 2008 Sp1 hard. HELP!<br><br>NEM<br> Thu, 14 Aug 2008 16:53:52 Z2008-08-14T16:53:52Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#adf14ddf-dc6f-4567-bf2e-6219d64b9b0ehttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#adf14ddf-dc6f-4567-bf2e-6219d64b9b0eNick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 Ok I got it fixed. I had to blow away my import export custom settings, and reload them. Then close every component window in Visual Studio (Solution Explorer, Team Explorer ETC).  Then reopened what I needed and that fixed it.<br><br>NEM<br> Thu, 14 Aug 2008 17:13:25 Z2008-08-14T17:13:25Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#4dc14028-255f-490f-93ad-d28966843a55http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#4dc14028-255f-490f-93ad-d28966843a55Nick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 BTW this keeps happening and now my fix is no longer working all the time. What the heck is going on with VS 2008 SP1?  Thu, 14 Aug 2008 23:54:15 Z2008-08-14T23:54:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#e552e124-614c-46fe-8bb2-7a74d0e8d548http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#e552e124-614c-46fe-8bb2-7a74d0e8d548Nick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 As it turns out through Microsoft support it is Power Commands 2008 that causes the problem for me. As soon as it was uninstalled the errors when away. They are looking into now and searching for hot fixes or workarounds. So Power Commands 2008 has compatibility problems with VS 2008 SP1 . Hope this helps some one!<br><br>Another thread on this.<br><br><a href="http://forums.msdn.microsoft.com/en-US/vssetup/thread/e2434065-9921-4861-b914-9cc9d6c55553">http://forums.msdn.microsoft.com/en-US/vssetup/thread/e2434065-9921-4861-b914-9cc9d6c55553</a><br><br><br>NEM<br> Fri, 15 Aug 2008 18:49:39 Z2008-08-15T18:49:39Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#ee5d4779-41c2-4fdb-9154-128b16a52f5fhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#ee5d4779-41c2-4fdb-9154-128b16a52f5fKarin Phttp://social.msdn.microsoft.com/Profile/en-US/?user=Karin%20PXaml Editor Crashes after Visual Studio 2008 SP1 I'm having the same problem. I can't open any XAML files unless they are pure ResourceDictionaries. I could for a while open other files as well but now... It just crashes.<br><br>I uninstalled the Power Commands before installing VS2008 SP1 so that is not the cause of the crash for me. This is not good! <hr align=left width="25%" size=1> Karin, StockholmMon, 08 Sep 2008 05:12:08 Z2008-09-08T05:13:09Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#4a22ebce-6be3-4c00-b2d2-98abe22dd754http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#4a22ebce-6be3-4c00-b2d2-98abe22dd754Nick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 Do you have other third party applications? If so try removing them. Otherwise I would contact Microsoft Technical Support. Mon, 08 Sep 2008 14:03:48 Z2008-09-08T14:03:48Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#f8a7a816-1268-482e-9e22-33786ad4d147http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#f8a7a816-1268-482e-9e22-33786ad4d147Karin Phttp://social.msdn.microsoft.com/Profile/en-US/?user=Karin%20PXaml Editor Crashes after Visual Studio 2008 SP1 I must have done something wrong when applying the steps described above. Now it is fixed.  If I take a clean project and make sure no files are opened when the studio starts I'm fine. I still can't use the designer, but I know why and I never use it anyhow. I started with XAML before the designer worked ok so I'm fine with writing the XAML directly. It's just a shame that I need to still have it in the background in order for code-assist to work. It takes too long to load.<hr size="1" align="left" width="25%">Karin, StockholmTue, 09 Sep 2008 07:10:34 Z2008-09-09T07:10:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#51057080-5a07-4c79-8e20-ff014c1fae71http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#51057080-5a07-4c79-8e20-ff014c1fae71Nick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 Not sure if you have done this already, as I do not use the designer in VS 2008. Go to Tools/Options/TextEditor/XAML/Miscellaneous, check the &quot;Always open open documents in full XAML view&quot; <br><br>Now you should be directed to straight XAML and the designer loads in the background.<br><br>This is slightly faster, but I agree waiting for the designer to load is annoying, especially if all you need it for is code completion.<br> Tue, 09 Sep 2008 17:16:11 Z2008-09-09T17:16:11Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#26b1fdaa-64c4-4cbc-8ea7-8505c7d712e4http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#26b1fdaa-64c4-4cbc-8ea7-8505c7d712e4Philipp.Muninhttp://social.msdn.microsoft.com/Profile/en-US/?user=Philipp.MuninXaml Editor Crashes after Visual Studio 2008 SP1 I have this problem and nothing helps me. Here is my problem <a href="http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6c7a9c6c-d565-46ae-83ed-d39998c0fd41/"><font color="#0072bc">http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6c7a9c6c-d565-46ae-83ed-d39998c0fd41/</font></a>Mon, 16 Feb 2009 14:12:11 Z2009-02-16T14:12:11Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#9f2fe20c-4831-40c1-a2f8-42bbb5d1f415http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#9f2fe20c-4831-40c1-a2f8-42bbb5d1f415KristoferA - Huagati Systemshttp://social.msdn.microsoft.com/Profile/en-US/?user=KristoferA%20-%20Huagati%20SystemsXaml Editor Crashes after Visual Studio 2008 SP1   <div class=quote><span class=quoteHeader>Philipp.Munin said:</span> <p>I have this problem and nothing helps me. Here is my problem <a href="http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6c7a9c6c-d565-46ae-83ed-d39998c0fd41/"><font color="#0072bc">http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6c7a9c6c-d565-46ae-83ed-d39998c0fd41/</font></a></p></div><br><br>Hi Philipp,<br><br>I have written an add-in that attempts to work around one common cause of VS crashes by preloading referenced assemblies when opening solutions/projects (and allowing the load order to be changed if necessary). You can read more (and download it) from <a href="http://www.huagati.com/ProjectLoader/">http://www.huagati.com/ProjectLoader/</a><br><br>If you try it out, please report back whether it fixes (or doesn't fix) the problem for you.<br><br>Best regards,<br>Kristofer<hr class="sig">Kristofer - Huagati Systems Co., Ltd. - web: <a href="http://www.huagati.com/">www.huagati.com</a> - blog: <a href="http://blog.huagati.com/">blog.huagati.com</a> - twitter: <a href="http://twitter.com/KristoferA">twitter.com/KristoferA</a>Wed, 25 Feb 2009 08:36:18 Z2009-02-25T08:36:18Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#0e6b3d24-bb52-4b00-98a8-6dc33223a706http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#0e6b3d24-bb52-4b00-98a8-6dc33223a706Nick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyXaml Editor Crashes after Visual Studio 2008 SP1 With regards to my previous post in this thread about &quot;Always Open Documnets in full XAML view&quot; this solution is way better and faster.<br><br>////////////////////<br><br>Have you tried disabling VS2008 from opening in Design View. The design view is not good anyway for XAML which is why you should get blend or just do it manually. <br><br>To do this I suggest going here :  <a href="http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx"><font color="#0072bc">http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx</font></a>  .Wed, 25 Feb 2009 15:19:27 Z2009-02-25T15:19:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#06f53d5a-f021-4801-9555-e132286f6a6chttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#06f53d5a-f021-4801-9555-e132286f6a6cShariq Abbasihttp://social.msdn.microsoft.com/Profile/en-US/?user=Shariq%20AbbasiXaml Editor Crashes after Visual Studio 2008 SP1 <br/>Thanks Nick! Works for me. I am not going back to Visual studio editor for XAML.Tue, 28 Apr 2009 16:02:14 Z2009-04-28T16:02:14Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#3441835d-75da-443b-9b6f-01a35e68bb03http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#3441835d-75da-443b-9b6f-01a35e68bb03Philipp.Muninhttp://social.msdn.microsoft.com/Profile/en-US/?user=Philipp.MuninXaml Editor Crashes after Visual Studio 2008 SP1 <p>I did it without WPF designer, read the post carefully:<br/><a href="http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6c7a9c6c-d565-46ae-83ed-d39998c0fd41/"><span style="color:#0072bc">http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6c7a9c6c-d565-46ae-83ed-d39998c0fd41/</span></a><br/><br/>&gt;&gt; 1) open just 3 primitive XAML files in XAML editor <strong>(not WPF designer)<br/><br/></strong>More over i noticed this bug not with XAML only but with App.Config too! If i close app.config with another editors many times - i'll get invisible intellisense, until VS2008 restarts. So i guess the problem is in XML editor.</p>Wed, 29 Apr 2009 18:49:33 Z2009-04-29T18:49:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#8aa48196-439f-43a0-80d6-9b5f3dacb0b1http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/61d52410-f101-4725-8a78-00c8d141cca8#8aa48196-439f-43a0-80d6-9b5f3dacb0b1very bad horsehttp://social.msdn.microsoft.com/Profile/en-US/?user=very%20bad%20horseXaml Editor Crashes after Visual Studio 2008 SP1 I also have had this problem.  I always resolve it by removing and then re-adding references to PresentationFramework and PresentationCore.  That has consistently eliminated the issue for me...until the next time I re-open Visual Studio. Mon, 01 Jun 2009 14:54:35 Z2009-06-01T14:54:35Z