I have been banging my head on the wall about my Visual Studio just disappearing from view whenever I open one of my WPF forms. As you can imagine, this puts a pretty big cramp in development efforts when you can never use the designer.
I looked in my event viewer and found this error hanging out.
Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 1023 Date: 3/10/2010 Time: 11:03:02 AM User: N/A Computer: BSEEKFORD00111 Description: .NET Runtime version 2.0.50727.3603 - Fatal Execution Engine Error (7A2E10D2) (0) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
The resolution is that it turns out your probably installed Power Commands for Visual Studio 2008. You can uninstall them, which sucks. Or you can apply a really easy patch.
Go to your devenv.exe.config file sitting in your Program FilesMicrosoft Visual Studio 9Common7IDE
Add this to the bottom of the dependent assemblies section:
<dependentAssembly> <assemblyIdentity name="Microsoft.PowerCommands" publicKeyToken="null" culture="neutral"/> <codeBase version="22.214.171.124" href="C:Program FilesPowerCommandsMicrosoft.PowerCommands.dll"/> </dependentAssembly>
Start Visual Studio back up and rock on.
Note: Make sure the path you enter matches where everything is installed. DUH!
Credits to these guys for all their help.